WebSite X5Help Center

 
Adrian B.
Adrian B.
User

Integratio for Tpay  pl

Autor: Adrian B.
Visitado 4, Seguidores 0, Compartilhado 0  

Hello,

I run an online store, autopacz.pl, built with WebSite X5 Pro. I am working on integrating Tpay payments using its API and a custom PHP script.

I need your advice on how to connect the payment confirmation process with WebSite X5’s order management system.

Could you please clarify:

  1. After Tpay confirms a successful payment through a server-to-server notification (webhook), how can I mark the corresponding WebSite X5 order as paid?
  2. Does WebSite X5 provide an API, a documented method for updating an order’s payment status, or another recommended mechanism for this?
  3. Which order identifiers or parameters should I pass to Tpay so that a payment can reliably be matched to the correct WebSite X5 order?
  4. Is there any documentation or example code for integrating a custom payment gateway and updating the order status?

My store saves orders in a database on my hosting server. I want to implement the integration properly, so that an order is marked as paid only after the payment has been verified by Tpay—not simply when the customer returns to a “payment successful” page.

I would appreciate any guidance or documentation you can provide.

Best regards,

Publicado em

Sem comentários