Jump to content


Photo

Shopping Cart - return url


  • Please log in to reply
1 reply to this topic

#1 CanMan2004

CanMan2004
  • Members
  • PipPipPip
  • Advanced Member
  • 254 posts

Posted 09 May 2006 - 09:15 PM

Dear all

I have to setup a shopping cart system through epdq, and have a question.

When a customer has paid for the product, what is the best way to tell if they have made payment or if the order got canceled\card declined? There is a sucesses payment return URL option I believe, so I guess I could make a php page to mark in the database if they get returned to that page or not, but what would stop the customer looking in the code and simply copying the return URL and bypassing the payment?

Any help would be great

Thanks

Dave

#2 Caesar

Caesar
  • Members
  • PipPipPip
  • Advanced Member
  • 1,025 posts

Posted 09 May 2006 - 11:16 PM

Payment gateways/proccessors usually let you define what the return/redirect page is. In their documentation, they will tell you what values are returned, and it is up to you (If you are coding your own cart ) to take that information and create the success/fail page.

I personally use Sunshop ([a href=\"http://www.turnkeywebtools.com\" target=\"_blank\"]http://www.turnkeywebtools.com[/a]). I suppose I could code something similar...but why reinvent the wheel. The payment proccessors are already intergrated and the cart has more than enough features. *shrugs* I dunno. Plus, it comes with templates/themes...and I dont have the time to create a few templates + code a cart from scratch.
PHP Ninja




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users