https://test.checkout.modempay.com/api/pay
), passing essential information like amount, customer details, and URLs for redirecting.
return_url
specified in the form, or if canceled, to the cancel_url
.charge.succeeded
or charge.cancelled
so you can handle them as needed, such as updating the order status on your end.