php - How to save online transaction data if mishap happens at the clients/payers side? -


I am using PHP with a template-engine and RELEX payments, such as any third party payment.

  • A situation arises with the HPP:
    • The client browser has been disconnected after successful transaction
    • This payment fails to save status information
    • Can anyone suggest a solution to this?

      Relax Payments is designed to prevent HPP from hitting it

      Once the payment is successfully completed, the Relax Server sends a message directly with the results of the transaction on your web site server. The customer's browser is not included - you will always know the status of the transaction. This message is sent to your Realex payment response URL.

      There are two scenarios if the customer is disconnected from the network

      1. The network is disconnected before paying. In this case, you have an item in their shopping cart , Who has not paid yet. The customer will need to go back to his car and try to make a payment again.
      2. After the payment is disconnected, the network is disconnected, in this case, the customer will not know if they have successfully paid or not, but you they may go back and Again, try to make a payment, which will fail if the order ID is the same. They will probably go back to your site to see their shopping cart. You should check your client account to see the order to complete them.

        After the transaction, you should send an email to the customer after receiving a message from Relax. This is a great comfort for the customer.

        You should also collect all the information that you need to redirect before on the HPP client, because the network can be lost and You will not be able to get more data from them (such as their address or other information you need to complete the order).

        There is a third scenario, where the RELEX can not connect to your site to send the message. We try again twice, and then alert our operations staff who will follow up with you directly. A general message will be shown to the customer for more information so that they can be asked to contact you.

  • Comments

    Popular posts from this blog

    Verilog Error: output or inout port "Q" must be connected to a structural net expression -

    jasper reports - How to center align barcode using jasperreports and barcode4j -

    c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -