Jump to content
iqbal2403

Payment Gateway database question

Recommended Posts

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!

Share this post


Link to post
Share on other sites

Hi, the best would be to look at existing free payment module and use that as example for your module.

Share this post


Link to post
Share on other sites

do not edit database directly, there are plenty methods in prestashop to update order

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More