These transactions are meant to be a future money-maker for Tencent. Perform transactions on e-commerce websites.Transfer money to friends (especially as “red envelopes” shared during Chinese festivals).Through the wallet section and the integrated browser of WeChat, users can perform a variety of transactions using WeChat Pay, including and not limited to: It appears in the “WeChat Wallet” section of the application. If redirect_url is added to MWEB_URL, check whether the parameter splicing format is wrong, whether urlencode is performed on the value of redirect_url.WeChat pay is a payment solution completely integrated inside the social and messaging application of Tencent: WeChat. If it is called by another WeChat account, please place an order again to generate a new MWEB_URL.Ģ. Make sure that the same MWEB_URL is only called by one WeChat account. Instead, call it in a third-party browser.Īndroid: System is busy, please try again laterġ. H5 Payment cannot be called directly in WeChat. Open the order outside WeChat to make payment. If it expires, regenerate the MWEB_URL and initiate the payment. Please re-initiate payment.Īfter the MWEB_URL returned by the unified order is generated, it will remain valid for 5 minutes. If the redirect_url is set, check whether the domain of the redirect URL is the same as the authorized domain submitted when you apply for H5 Payment. If you need to add or modify the authorized domain, please log in to the merchant platform corresponding to the merchant account in Product Center > Development Configuration to configure the authorized domain.Ģ. The domain currently calling H5 Payment (obtained from the referrer WeChat) is inconsistent with the authorized domain submitted when you apply for H5 Payment. The merchant has unconfigured parameters. If H5 Payment is initiated in the app, you need to manually set the referrer in the webview, such as (Map extraHeaders = new HashMap() ĮxtraHeaders.put("Referer", "the authorized domain submitted by the merchant when you apply for H5 Payment") //e.g. Please follow the normal process to initiate the payment after being redirected, or capture the packet to check whether the referrer value is emptyĢ. This problem generally occurs when the user directly accesses the page to initiate H5 Payment. The current referrer for H5 payment is empty. The merchant parameter format is incorrect. In such a case, the normal interception will be triggered and the user needs to re-initiate the payment process in the same network environment. For example, the unified order is placed in the Wi-Fi network, after the order is successfully placed, the network is switched to 4G to transfer the payment. The network is changed when the unified order is placed and the payment is transferred. Please refer to Guide for Obtaining Client IPfor details.Ģ. This problem generally occurs when the merchant fails to transmit the correct terminal IP to spbill_create_ip while placing an order. The terminal IP (spbill_create_ip) of the unified order transmission on the merchant side is inconsistent with the terminal IP detected on WeChat when the user actually transfers the payment. The network environment fails to pass the security verification. Step 10: The user is notified of the final order payment result. If not, the backend calls the order query API to confirm the order status. Step 8\9: The merchant's backend checks whether it has received the payment result notification from WeChat. Step 7: On the display page, the merchant guides the user to initiate a query of the payment result. Step 6: The user completes the payment or cancels the payment at the WeChat Pay cashier, and returns to the merchant page (the default is set to the payment initiation page). Step 5: If the payment succeeds, the merchant's backend will receive an asynchronous notification from WeChat. Step 4: The middle page performs H5 permission verification and security check (see below for common errors here). The merchant calls the WeChat Pay middle page through mweb_url. Step 3: The H5 payment order API returns payment-related parameters to the merchant backend, such as the payment redirect URL (parameter name "mweb_url"). Step 2: The merchant backend initiates an order request to WeChat Pay ( Calling the H5 payment order API.) Note: transaction type trade_type=MWEB Step 1: The user completes the order at the merchant side and uses WeChat Pay to make the payment. The main interaction between the merchant system and the WeChat Pay system:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |