Payments
Once you have confirmed payment from the customer, the final step is to fulfill the basket and start the purchase of the products. Gordian charges you for all the products in the basket.
Attention
Most fulfillments are completed within 1 hour, but there are cases that may need manual intervention, such as when receiving a booking that has not been ticketed or that has an incorrect record locator. Therefore, Gordian recommends leaving a 24-hour window before confirmations.
Gordian supports two payment methods:
- Deposit: You do not need to pass card information in the fulfillment request.
-
Credit card: You must pass your company’s card information in the fulfillment request.
Important
Do not pass the customer’s card information in the fulfillment request.
Testing credit card payment
You can test the credit card payment method with the payment details below. Note that the provided test card information only works with sandbox and cert API keys.
Field | Value |
---|---|
CVV | 123 |
Expiry Date | 12/2034 |
Billing Address 1 | Apartment 5 |
Zip Code | 94010 |
City | Burlingame |
State | California |
Country | United States |
Handling failed fulfillments
When a fulfillment fails, you must process the refunds. You can catch the failed fulfillments in three ways:
- Process failed fulfillments in the settlement file.
- Receive a notification from Gordian in the case of a failed fulfillment. See the subscribe endpoint for more details.
- Poll the trip information endpoint to see the status of the orders.
Handling refunds
When airlines try to refund customers, you must process the refunds. You can catch the airline refunds in three ways:
- Processing refund entries in the settlement file.
- Receive a notification from Gordian in the case of a refund. See the subscribe endpoint for more details.
- Poll the trip information endpoint to see the status of the orders.