- 0
After payment callback does not return to invoice automatically
-
Recently Browsing 0 members
- No registered users viewing this page.
By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated
Question
Shaz3e
Hello,
I am developing a third party payment gateway where customer can pay through Mobile Account/Shop/CreditCard I am good till I submit the payment but when it returns to success/failure payment the callback shows blank page if I use 'header("Location: http://test.com/whmcs/viewinvoice.php?id=123");' the invoice gets updates but does not show information message i.e. Thank you! Up on successfull transaction and error message when the transaction is failed. What is a good practice to redirect from callback.php to invoice page without using an extra function? For reference integration guide and payment gateway is attached to this post.
Any help would be appreciated.
Merchant Integration Guide.pdf
gateways.zip
Link to comment
Share on other sites
9 answers to this question
Recommended Posts