Sending to payment page from website

Hi,
We are using the API to customize the interface of booking flow in PHP (WordPress). The documentation helped to retrieve the list. From the website we can create booking but how can we send users to the payment page? I know there is WordPress plugin to use the api in iframe but we didn't use. We are keen to give user some custom flow. I searched for the documentation but unfortunately not found.
There must be a way to send users to the API payment page after creating successful booking or need to follow any other process to capture payments from the customer.

Any guidance or documentation can help to finish the customization.

Thanks.

Comments

  • Hi @ams,

    Thanks for reaching out on our forum!

    You should be able to build the booking specific payment URL by querying the booking/{booking_id} endpoint. From there, you can get the unique token, and create the payment URL in the format of:
    /reserve/booking/{booking_id}?CFX={booking_token}
    This will take the customer to their booking invoice, and give them the option to pay.

    Let me know if you have any additional questions, or feel free to email in to code@checkfront.com

    Best Regards,
    Brett - Checkfront Support Team
  • Thanks. Will surely connect.
Sign In or Register to comment.