Loading…

Paypal payment

```javascript WXAPI.paypalCheckout({ 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 ["Detailed explanation of nextAction parameter usage"](https://www.yuque.com/apifm/doc/aetmlb) The interface returns: ```json { code: 0, msg: 'success', data: { outTradeId: '', orderId: '', status: '' } } ``` + outTradeId payment order number + orderId Paypal order number After receiving the interface return value, use js to initiate a call to Paypal's checkout counter: ["Detailed js tutorials can be found here"](https://www.yuque.com/apifm/doc/fc5xwx)