- Source:
Routes for Payment.
Methods
(static) authorizePayment(modules, modules, modules)
Authorize the payment
Parameters:
Name | Type | Description |
---|---|---|
modules |
frontend.cart.getSingleCartDetails | |
modules |
frontend.payment.paymentSuccess | |
modules |
paymentModule.authorizeInsertPayRecord |
(async, static) paymentSuccess(cartID, userID, req, modules, modules, modules, modules, modules, modules)
On Payment Success
Parameters:
Name | Type | Description |
---|---|---|
cartID |
string | cartID which the payment is success |
userID |
string | userID which the payment is success |
req |
object | req object |
modules |
paymentModule.getMinimumInvoiceID | |
modules |
paymentModule.getCartDetails | |
modules |
paymentModule.markCartPaid | |
modules |
paymentModule.markBuyNowPaid | |
modules |
paymentModule.addAppointment | |
modules |
paymentModule.updateBuynowAppointment |