Introduction
This document will provide instructions on how to enable WSPay Payment Gateway on your Website.
TABLE OF CONTENTS
Setup
After receiving the credentials from WSPay for the clients, log in to our platform and go to the Parent site of that client, and then to the Website/Edit Website.
Go to the section Payment Gateway Settings, and choose Payment Gateway Type from the drop-down list - WSPay.
When you click WsPay from the drop-down list it will pop up a few fields that are necessary to fill to complete the whole process.
Image 1. Payment Gateway Settings in Website Settings
Option Name | Description |
Payment Gateway Type | Here we can choose which Payment Gateway we want to use. In this case we will select Stripe which will show us multiple new fields and options. |
Continue with booking process even if reserve funds didn't go through | This option can be enabled to allow the booking to be successful even if the funds do not go through. |
Environment | We can choose whether we want to use the Production (Live) or Test Credentials. |
ShopID | We need to insert the ShopID into this field. |
Secret Key | We need to insert the Secret Key here. The Secret Key usually starts with sk_ |
Currency | This option will only be available once the Credentials have been added and the changes have been saved. To see it, we just need to go back to the Payment Gateway Settings and the option will be shown to us. |
Table 1. Payment Gateway Settings
From the file that you get from WSPay, you can take credentials - ShopID, SecretKey, and Currency.
The Credentials that you receive from WSPay are the same for Production and for Test Environment. The main difference here is that under the Production Environment, WSPay will do the authorization and reserve the funds. Otherwise, if we set the Test Environment, we will only be able to confirm the Booking and create the PNR. In both of the cases once the PNR has been created, the transaction will be seen on the WSPay platform.
Currency is defined between WSPay and Client, because of that, you will also get this information in that file.
This file from WSPay will look something similar to this:
Image 2. WSPay Parameters Document
If an agency has some specific requests in terms of payment exceptions or airline payment rules, this can be set in the option below the credential fields.
Image 3. Provider Payment Exception and Airline Payment Rules settings
Within the Provider Payment Exceptions, you can choose a provider from the dropdown menu as well as the charge type.
Each provider can have one charge type only, and those types are:
Full Charge - The entire amount will be processed through the payment gateway
Service Fee Only - Only the service fee amount will be processed through the payment gateway
Don't Charge - The payment gateway won't process the payment for the selected provider at all.
The same logic applies to the Airline Payment Rules, the only difference is that you can choose the specific airline and the type of charge for it.
So for example, if we have a service fee fixed value of 1000 RSD and our ticket cost 30000 RSD,
if we set for split payment options to be - Service fee only payment gateway charge, WSPay will charge only 1000RSD or the amount for that service fee that we have created in the Markups tab on our platform.
if we set for split payment options to be - Full payment gateway charge, WSPay will charge 31000RSD (flight ticket + service fee)
When we choose from Split Payment Options drop-down - Service fee only payment gateway charge it will automatically enable in the section GDS CC Authorization option Credit Card Authorization Required
Example
When the Travelers create a reservation, on the Thank you Page, they will see the Payment Confirmation from WSPay.
Image 4. WSPay information Post-Booking