Enabling Wechat mini program have to finish oversea company authorization. And authorized merchant should be equal to the merchant information in RoyalPay.
Enabling Wechat mini program have to finish oversea company authorization. And authorized merchant should be equal to the merchant information in RoyalPay.
For details please visit WeChat documents.
For details please visit WeChat documents.
Used for call payment in miniprogram. Create order and pass the sdk_params to mini program. [Reference Document](https://www.royalpay.com.au/downloads/MiniProgram_WechatPay.pdf)
Used for call payment in miniprogram. Create order and pass the sdk_params to mini program. [Reference Document](https://www.royalpay.com.au/downloads/MiniProgram_WechatPay.pdf)
<img src="img/microapp_cn.png">
<img src="img/microapp_en.png">
- name:CardPayment
- name:CardPayment
description:|
description:|
Card payment method is that customer provider their card information to finish payments. Enable card payment require addition compliance process.
Card payment method is that customer provider their card information to finish payments. Enable card payment require addition compliance process.
@ -161,7 +161,7 @@ tags:
Call this api to create order and get param string for SDK calling. Call SDK api with the param to start payment and get payment result from Wechat app *It is strongly advised to request RoyalPay order query Api to confirm that the order has been paid in order to cancelling order by system at the same time.*
Call this api to create order and get param string for SDK calling. Call SDK api with the param to start payment and get payment result from Wechat app *It is strongly advised to request RoyalPay order query Api to confirm that the order has been paid in order to cancelling order by system at the same time.*
<img src="img/sdk_wechat_api_payment_en.png">
<img src="img/sdk_wechat_api_payment_en.png">
More information for integration with Alipay:[Alipay SDK Document](https://global.alipay.com/doc/app/intro)
More information for integration with Alipay:[Alipay SDK Document](https://global.alipay.com/doc/app/intro)
More information for integration with Alipay:[Wechat SDK Document](https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=11_1)
More information for integration with Wechat:[Wechat SDK Document](https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=11_1)
[Alipay SDK for Android](resources/api/alipaySdk-20160825.jar)
[Alipay SDK for Android](resources/api/alipaySdk-20160825.jar)
[Alipay SDK for iOS](resources/api/AlipaySDKForiOS.zip)
[Alipay SDK for iOS](resources/api/AlipaySDKForiOS.zip)
[Wechat SDK for Android](https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=open1419319167&token=&lang=zh_CN)
[Wechat SDK for Android](https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=open1419319167&token=&lang=zh_CN)
@ -174,6 +174,39 @@ security:
nonce_str:[]
nonce_str:[]
time:[]
time:[]
paths:
paths:
/gateway/partners/{partner_code}/consult_payment:
post:
tags:
- ChannelGateway
- MobileH5
- SDK Payment
summary:ConsultPayment
description:|
Used for check which pay_type is available for AlipayPlus channel.
You can call this api to get available wallets and ask customers to choose.
Retail Passive Payment is used for cashier terminals which can scan BarCode or QRCode. Shop staff input the payment amount and ask customers for their payment code,
Retail Passive Payment is used for cashier terminals which can scan BarCode or QRCode. Shop staff input the payment amount and ask customers for their payment code,
then system send price and payment code to server and finish the payment. Retail Passive Payment now support both Alipay and WeChat
then system send price and payment code to server and finish the payment. Retail Passive Payment now support both Alipay and WeChat
<img src="img/Retail_cn.png">
<img src="img/Retail_en.png">
tags:
tags:
- RetailPay
- RetailPay
parameters:
parameters:
@ -817,7 +841,7 @@ paths:
Retail Active Payment is used for cashier terminals which cannot scan Barcode or QRCode. Get the Code url after create the order,
Retail Active Payment is used for cashier terminals which cannot scan Barcode or QRCode. Get the Code url after create the order,
convert this url to a QRCode and ask customers use their app to scan this QRCode then finish the payment.
convert this url to a QRCode and ask customers use their app to scan this QRCode then finish the payment.
Retail Active Payment now support Alipay, WeChat
Retail Active Payment now support Alipay, WeChat
<img src="img/RetailQR_cn.png">
<img src="img/RetailQR_en.png">
tags:
tags:
- RetailPay
- RetailPay
parameters:
parameters:
@ -960,30 +984,22 @@ paths:
application/json:
application/json:
schema:
schema:
allOf:
allOf:
- $ref:'components_order.yml#/orderBasic'
- $ref:'components_order.yml#/orderWithChannel'
- type:object
- type:object
required:
- channel
properties:
properties:
channel:
type:string
description:Payment channel, required, case sensitive
enum:
- Wechat
- Alipay
system:
system:
type:string
type:string
description:OS type of client app, optional for Alipay, not required for Wechat
description:OS type of client app, optional for Alipay, required for AlipayPlus, not required for Wechat
enum:
enum:
- android
- android
- iphone
- iphone
- ipad
- ipad
version:
version:
type:string
type:string
description:client app version, optional for Alipay, not required for Wechat
description:client app version, optional only for Alipay
appid:
appid:
type:string
type:string
description:wechat appid, required for Wechat, not required for Alipay
description:wechat appid, only required for Wechat
"label":"Chemicals and Allied Products - Not Elsewhere Classified ",
"label":"Chemicals and Allied Products - Not Elsewhere Classified ",
"mccCode":"5169",
"mccCode":"5169",
"value":"{\"category\":\"SHOPPING\",\"code\":\"5169\",\"description\":\"Chemicals and Allied Products - Not Elsewhere Classified \",\"parentCode\":\"B02\"}"
"value":"{\"category\":\"SHOPPING\",\"code\":\"5169\",\"description\":\"Chemicals and Allied Products - Not Elsewhere Classified \",\"parentCode\":\"B02\"}"
}
,
{
"children":[],
"label":"Petroleum and Petroleum Products ",
"mccCode":"5172",
"value":"{\"category\":\"SHOPPING\",\"code\":\"5172\",\"description\":\"Petroleum and Petroleum Products\",\"parentCode\":\"B02\"}"
},
},
{
{
"children":[],
"children":[],
@ -945,6 +958,12 @@
"label":"Video Amusement Game Supplies ",
"label":"Video Amusement Game Supplies ",
"mccCode":"7993",
"mccCode":"7993",
"value":"{\"category\":\"SHOPPING\",\"code\":\"7993\",\"description\":\"Video Amusement Game Supplies \",\"parentCode\":\"C10\"}"
"value":"{\"category\":\"SHOPPING\",\"code\":\"7993\",\"description\":\"Video Amusement Game Supplies \",\"parentCode\":\"C10\"}"
"label":"Personal Services - Not Elsewhere Classified",
"label":"Miscellaneous Personal Services ( not elsewhere classifies)",
"mccCode":"7299",
"mccCode":"7299",
"value":"{\"category\":\"SERVICE\",\"code\":\"7299\",\"description\":\"Personal Services - Not Elsewhere Classified\",\"parentCode\":\"S08\"}"
"value":"{\"category\":\"SERVICE\",\"code\":\"7299\",\"description\":\"Miscellaneous Personal Services ( not elsewhere classifies)\",\"parentCode\":\"S08\"}"
uib-tooltip="Customer pay for rate means after customer input the price, system will add rate value into the final price. Client will receive full value customer input after settlement. 客户支付费率勾选后将自动在输入金额基础上加上手续费金额,商户将在清算时收到用户输入的金额"></i>
uib-tooltip="Customer pay for rate means after customer input the price, system will add rate value into the final price. Client will receive full value customer input after settlement. 客户支付费率勾选后将自动在输入金额基础上加上手续费金额,商户将在清算时收到用户输入的金额"></i>