• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

card processing question

 
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have following question regarding credit card processing..
1. You want to deliver PIN number when credit card is valid & deduct your inventory of PIN accordingly. I mean credit card validation is done by someone else & how you will update customer account for order info & deduct your inventory?
a. Client disconnected before we can update our inventory database but credit card is valid & charged. What we should do to avoid this situation or store something in database for temp transaction & look at that data if above situation occur.
b. If everything is good like you get YES from card validation take out that product from inventory & enter order info to user account. All done IN database MySQL.
I know many card processing agency provide API & reply which indicate CC validation. If someone can give me idea about first problem that will be great.
Thank you
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic