Page History
...
After payment using Google Pay is completed, the server returns the order number and status in response. To process the response, you must add the appropriate code to this processPayment function:
Code Block | ||
---|---|---|
| ||
$.post("/pay/tokenpay_widget_gp.cfm", JSON.stringify(data)).then(function (result) {
//here should be processing the response from the payment service
// this is an response example {"order":{"ordernumber":"2019.03.11-664","orderstate":"Approved"}}
}); |