Hosted checkout
Send the payer to a checkout page your server created.
Your server creates the checkout session and sets the amount, currency, expiry, and return URLs. The hosted page collects the payment for that session. When the payer comes back, confirm the result with a server-side read or a signed event.
- 1Create on your server
Create a checkout session with a scoped server credential and an idempotency key, as in step 2 of the Recommended integration. Store its ID with your order.
- 2Redirect to the returned URL
Use the checkout URL PerionPayments returns, as it is. Do not rebuild it or add credentials to it.
- 3Check the payment when they return
The return URL only brings the payer back. Read the payment from your server, or wait for a verified event, before you fulfill the order.