Loading…

Fomo payment

Table of contents on this page
#payNow ```javascript WXAPI.payNow({ 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) #checkout ```javascript WXAPI.fomoCheckout({ 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) #WeChat Mini ProgramPayment ["Move to WeChat Mini Program to pay"](https://www.yuque.com/apifm/nu0f75/kffu74)