iqbal2403 Posted October 30, 2019 Share Posted October 30, 2019 Hi, I am creating simple payment gateway calling the API our local payment gateway, this module I create for PS 1.7.6.1. API return URL : "Status ID", "Order ID", "Messages (success or failed)", "transaction ID" and "Hash". Now I am almost done, just need to create the return page and update database. Question: 1. what are the databases that I need to update upon success/fail transaction? so its visible to customer FO and BO. 2. how to give link to order-history on the return page. Many thanks! Link to comment Share on other sites More sharing options...
El Patron Posted October 30, 2019 Share Posted October 30, 2019 Hi, the best would be to look at existing free payment module and use that as example for your module. Link to comment Share on other sites More sharing options...
iqbal2403 Posted October 30, 2019 Author Share Posted October 30, 2019 @El Patron thanks! Why I never thought of that way! 1 Link to comment Share on other sites More sharing options...
lototo Posted November 2, 2019 Share Posted November 2, 2019 do not edit database directly, there are plenty methods in prestashop to update order Link to comment Share on other sites More sharing options...
El Patron Posted November 3, 2019 Share Posted November 3, 2019 On 10/30/2019 at 5:07 PM, iqbal2403 said: @El Patron thanks! Why I never thought of that way! the stripe module is very elegant, and remember it's important to have a modern front office presentation for customer cc in-take.....4 by 4 spacing, validation of cc number (moduls 10 check I think it's called), displaying other cc visitor assurances and making it easy. chrome stores our cc and will autofill so make your field names compliant. i retired 2001 from amex cc auth area, so I did not develop in cc area even though it's a good selling eco....we did a cool worldpay module, but never released, I've got a lot of unreleased modules lol....anyway...check out stripe, I think there is github version and make something really good and learn along the way. 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