JSApiVersion 1.0.0
Alipay JSAPI Payment Page in GlobePay
https://pay.globepay.co/api/v1.0/gateway/alipay/partners/{partner_code}/orders/{order_id}/app_payThis page must be called after Payment Order has been created. Actural url shall be according to pay_url param from order creation
Path Variable
| Field | Type | Description |
|---|---|---|
partner_code | String | Required, Partner code |
order_id | String | Required, Partner order id. Must have already been created |
Query Params
| Field | Type | Description |
|---|---|---|
redirect | String | Required, Redirect url when the payment succeeded |
directpay | Boolean | whether open direct pay mode. |
time | Long | Required, UTC timestamp in milliseconds |
nonce_str | String | Required, Random string |
sign | String | Required, Sign |
Error Code
| Name | Description |
|---|---|
ORDER_NOT_EXIST | Order does not exist |
ORDER_MISMATCH | Order is not belong to this partner |
SYSTEMERROR | Exception inside system |
INVALID_SHORT_ID | Partner code is invalid or there is no partner associated with this code |
SIGN_TIMEOUT | Sign expired, the difference between time and the server time is more than 5 minutes |
INVALID_SIGN | Invalid sign |
PARAM_INVALID | Parameters are invalid. See return_msg for more details. |
NOT_PERMITTED | Gateway payment permission has not been enabled for this partner |
INVALID_CHANNEL | Channel name is not available, check the Capitalize |
ERROR
| Name | Description |
|---|---|
return_code | Error Code |
return_msg | Error Description |
