zhelyo Posted May 29, 2024 Share Posted May 29, 2024 (edited) Hi to all, I am developing a payment module in which the user enters card data on the bank's site and the bank returns a response to the site (https://stroyko.bg/en/module/fibankpos/validation) with the result: "trans_id" upon successful payment or a string starting with "error" - in case of error. When the payment is successful, I need to make another post request (cURL) to the bank, and retrieve the post variable "RESULT" from the bank's response. My question is how to process the result and redirect to order-confirmation? Currently it always redirects to: https://stroyko.bg/en/cart?action=show and the user is already logged out. Thanks in advance! Edited May 29, 2024 by zhelyo (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now