Loading…

The merchant scans the user's Alipay payment code to complete the payment

```javascript WXAPI.alipayQrcode2({ token: '000', money: 0.01, remark: 'Preferential payment: 0.01', payName: 'Preferential payment' }) ``` + token login credentials + money payment amount + payName The purchase name displayed on the payment interface + remark remark information will be recorded in the remark field in the background payment record. It does not need to be passed. + nextAction After the payment is successful, the next operation that needs to be performed does not need to be passed. + shopId the payment store ID, optional + scene payment scene: bar_code: face-to-face barcode payment scenario; security_code: face-to-face payment scenario; + auth_code the buyer's payment code (a 16- to 24-digit number starting with 25~30, the actual string length is subject to the length of the payment code obtained by the developer) or the facial recognition identification string (a 35-digit string starting with fp) ["Detailed explanation of nextAction parameter usage"](https://www.yuque.com/apifm/doc/aetmlb) Status code description: + code = 0, deduction successful + code = 1, the user is required to further confirm the payment on the mobile phone. In this case, a rotation request is required to query the payment order status interface to determine whether the user has finally paid successfully.