Choose an integration
Compare the ways to offer PayTomorrow and pick the one that fits your store.
At a glance
| Platform plugin | Redirect | Iframe | Virtual cart | Pre-approval | |
|---|---|---|---|---|---|
| Best for | Stores on a supported platform | Custom checkouts, fastest build | Custom checkouts that want customers to stay on-site | Phone, chat, and in-store sales | Approving customers before they shop |
| Code required | None | Server only | Server and a little frontend | Server only | Server only |
| Customer leaves your site | Depends on plugin | Yes, then returns | No | Gets a link by text and email | Gets a link by text and email |
| Status updates | Handled by plugin | Postbacks | Postbacks and browser messages | Postbacks | Pre-approval postback |
| Start here | Platforms | Quickstart | Iframe | Create virtual cart | Pre-approvals |
Platform plugin
If your store runs on Shopify, WooCommerce, Magento 2, BigCommerce, PrestaShop, Shift4Shop, WebShop Manager, or X-Pay, install the PayTomorrow plugin. It adds PayTomorrow as a payment method, handles postbacks, and updates order status for you. See Platforms.
Redirect
Create an order from your server and redirect the customer to the returned url. When they finish, PayTomorrow sends them to your returnUrl (or cancelUrl) and posts the result to your notifyUrl.
This is the simplest custom integration. Follow the quickstart.
Iframe
Same API calls as redirect, but you open the url in a full-screen iframe on your checkout page. The iframe sends browser messages so you know when to close it. Customers stay in your checkout while applying. See Iframe.
Virtual cart
For sales that happen outside your online checkout. Your team builds the cart, PayTomorrow texts and emails the customer a link, and the customer applies on their phone. Uses Create virtual cart.
Pre-approval
Let customers find out how much they're approved for before they pick products. Once they're ready to buy, attach the cart and send it back for signature. See Pre-approvals.
Every option uses postbacks
Whichever option you choose, build your order updates around postbacks, not the customer's browser redirect. Persist notifications and reconcile current status. Delivery can fail after the retry limit, so periodically check unresolved orders.