About Unified Barcode payment

General information about Unified Barcode payment

Since Spot Payment of Alipay and Quick Pay of WeChat Pay have been integrated in , there are 2 interfaces for barcode payment. In order to initiate payment the merchant needs to ask customer in advance which payment method should be used, Alipay or WeChat Pay.

To simplify this process at merchant’s side and to offer merchants a convenient experience of barcode payment with , a unified interface can be established for both barcode payments. Based on the "barcode" it could be recognized by which payment method it’s about and then the process would be routed to the appropriate scheme.

Logo
Info

Since Spot Payment of Alipay and Quick Pay of WeChat Pay have been integrated in , there are 2 interfaces for barcode payment. In order to initiate payment, the merchant needs to ask customer in advance which payment method should be used, Alipay or WeChat Pay.

TypePayments by eWallet

Process flow chart

Unified Barcode payment process flow

On this page


interface


Calling the interface

In order to execute a payment with Unifed Barcode payment via server-to-server connection, please use the following URL:

barcode.aspx


Key

Format

CND

Description

Beschreibung

OrderDesc

ans..768

M

Name of the transaction which is displayed in the transactions list

Name der Transaktion, der in der Transaktionsliste angezeigt wird

OrderDesc2ans..768OTransaction noticeTransaktionshinweis

Key

Format

CND

Description

Beschreibung

BuyerIDCodeans..32MCCode generated by the Alipay-App. It is designed for the identification of a user.Von der Alipay-App erzeugter Code. Er dient zur Identifikation des Nutzers.
TimeOutn..14OC

Only for WeChat: Time limit for a transaction. Unit: minutes. At least 1 minutes.

Optional parameter of WeChat Pay: will be regarded when it’s a payment of WeChat Pay.

Nur für WeChat: Zeitlimit für eine Transaktion. Einheit: Minuten. Mindestens 1 Minute.
Optionaler Parameter von WeChat Pay: wird berücksichtigt, wenn es eine Zahlung mit WeChat Pay ist.

GoodsCategoryan..32OC

Only for WeChat: Product category. Meaning at WeChat Pay: Intended purpose on discount coupon.

Optional parameter of WeChat Pay: will be regarded when it’s a payment of WeChat Pay.

Nur für WeChat: Product category. Meaning at WeChat Pay: Intended purpose on discount coupon.
Optionaler Parameter vonWeChat Pay: wird berücksichtigt, wenn es eine Zahlung mit WeChat Pay ist.

LimitboolOC

Only for WeChat: If true, credit cards won't be accepted in the payment, otherwise credit cards will be accepted.

Optional parameter of WeChat Pay: will be regarded when it’s a payment of WeChat Pay.

Nur für WeChat: If true, credit cards won't be accepted in the payment, otherwise credit cards will be accepted.
Optionaler Parameter von WeChat Pay: wird berücksichtigt, wenn es eine Zahlung mit WeChat Pay ist.

Parameters for payments with Unified Barcode payment


Key

Format

CND

Description

Beschreibung

Status

a..50

M

OK, FAILED or AUTHORIZE_REQUEST (If no final status from Alipay exists. Customers may need to confirm the payment in the app with their password.)

OK, FAILED oder AUTHORIZE_REQUEST (Falls kein finaler Status von Alipay existiert. Kunden müssen die Zahlung eventuell in der App mit ihrem Kennwort bestätigen.)

Key

Format

CND

Description

Beschreibung
CodeExtans..40OCOnly for WeChat: WeChat error code. Not included when it’s a payment of Alipay.Nur für WeChat: Fehlercode von WeChat. Bei einer Zahlung mit Alipay nicht enthalten.
ErrorTextans..256O

Error text from the downstream system, only when its response is discussed with .

Fehlertext vom nachgelagerten System, nur wenn mit dem abgesprochen.

TIDans..64OCOnly for Alipay: TransactionID generated by Alipay system. Not included when it’s payment of WeChat Pay.Nur für Alipay: Vom Alipay-System erzeugte TransactionID. Bei einer Zahlung mit WeChat Pay nicht enthalten.

Result parameters for payments with Unified Barcode payment


Credit / Reversal

Credits with reference and Reversals depend on the selected payment scheme Alipay or WeChat Pay. For processing such follow-up transactions please see the respective manuals for Alipay or WeChat Pay.