Payment Page
Payment Page
The Payment Page is one of the modes available in SagaPay’s online payment solutions. This guide will walk you through the steps for setting up and accepting payments using the Payment Page mode.
Complete onboarding and register a terminal with Payment Page selected as the terminal type.
Prerequisites
Complete the onboarding and terminal registration process with terminal type set as PaymentPage.
Payment Types
There are two primary types of payments involving tokens:
Note
MIT payments can only be processed by terminals set to MerchantInitiated. To know more about MIT, please refer to the MIT guide.
Payment Process
Step 1: Create Order
In order to accept payments you will have to create an order using the Create Order API. There are some additional control fields when creating an online order, that gives you fine-grained control over the payment process.
On successful order creation, you will receive a payment link which you must share with your customer to complete the payment. The payment link will be valid for the duration specified in the paymentPageValidFor field.
Control Fields
Recurring Payment Control Fields
You can also configure for recurring payment while making the create order request which includes all the required control fields.
Step 2: Check Order Status
Once an order is created, monitor its status using the Fetch Order Status API. If the status changes to PAYMENT_COMPLETED or PAYMENT_CANCELLED, you’ll be able to view the transaction details. Additionally, updates can be received through Webhook notifications.