Users actively scan the QR code to complete payment
SDK apifmDevelopment reference
```javascript
WXAPI.alipayQrcode({
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
The interface returns:
```json
{
"code": 0,
"data": {
"outTradeId": "ZF2203060872249236",
"qrcode": "What is returned here is the address of the QR code. Just show it to the user to scan the code."
},
"msg": "success"
}
```
+ Generate QR code from the content of qrcode, for example, use the grass QR code generator. After inputting the content, a code will be generated, and you can use Alipay to scan the code to pay.