API for Mobile App with WeChat Pay
For WeChat Pay Only
本指南适用于在App 应用内完成微信支付的场景。
In-App支付是指用户打开商户的程序应用,商户通过调用OTT PAY提供的API接口调起微信支付钱包来完成支付。
This guide is for payments with WeChat Pay in mobile Apps.
In-App payment API is for customers using merchants’ mobile app, with OTT Pay provided API to activate WeChat Pay wallet to make the payment.
Merchants enabled OTT Pay InAppPay service with contract.
Merchants register the account, upload the App at https://open.weixin.qq.com. Provide the AppID to OTT Pay to finish the payment configuration.
customer select the item and click 'pay' in merchant’s mobile app, as shown below:
The customer get into the payment page and choose WeChat Pay, as shown below:
After the customer clicked “WeChat Pay” button, by using OTT In-App Pay API to activate WeChat Pay wallet. Once the customer entered correct password, the customer’s end will show “Payment Successful” page, as shown below. Meanwhile, the merchant will show the payment finish page with result returned from OTT Pay.
Last updated