Checkout Full Process
Step 1: Entering billing details and payment method
Step 1a. When no customerId
is provided, customers are prompted to enter their billing details and payment method. (Figure 1). If customerId
is provided, please go to step 1b. The customer must agree to Ezypay's Terms and Conditions before proceeding.

Figure 1: Checkout page for new customer
Step 1b. If customerId
is provided, the customer's details and payment methods are pre-populated based on the stored information. The customer must confirm the details and submit the payment (see Figure 2). They also have the option to add a new payment method if desired.

Figure 2: Checkout Page for Existing Customer
The order details display the amount payable and the description of the payment as defined during checkout session creation.
Step 2: Payment confirmation
Once the customer has entered their details, a confirmation page is displayed (see Figure 3). Any additional Ezypay fees charged to the customer are also shown here.
The customer can choose to modify their information by clicking 'Change,' which returns them to Step 1. If all details are correct, they must complete a Captcha verification before clicking the 'Pay' button.

Figure 3. Confirmation page
Step 3: Status of the payment
Immediate feedback is provided to the customer on the status of their payment, as detailed below:
1. Successful Payment
After a successful payment, the customer is redirected to the specified successURL
from the checkout session creation. Before the redirect, the customer sees a success message confirming the transaction (see Figure 4).

Figure 4. Successful payment page before redirecting to the successful URL
2. A payment that has failed
If the payment fails, the customer is notified immediately along with the reason for the failure (see Figure 5). The customer will be redirected to Step 1 and restart the process.

Figure 5. Failed Status
3. When checkout is disabled when reaching the failed attempts threshold
The checkout session is automatically disabled once it reaches the maximum number of failed attempts, configured in the Ezypay system.
Updated about 1 month ago