The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
  #1  
Old 02-11-2011, 08:55 AM
Mileedi e-pood's Avatar
Mileedi e-pood is offline
 
Join Date: Feb 2011
Posts: 77
Default

E-path return url to cancel payment


We're using a custom payment system with Ecwid to enable users to pay by bank transfer with local banks' online systems. For that we chose Ecwid's e-Path payment method which sends the purchase data to our application that redirects the user to the bank service.
Everything works okay if the user confirms the payment, but if they cancel the transaction while in the bank's system, they're redirected to app.ecwid.com for a short time and ecwid still marks the payment as successful although it was canceled.
Does ecwid have some sort of a return url that would mark the payment as canceled? Then we could make our system redirect the user to it.
  #2  
Old 02-11-2011, 04:15 PM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is offline
Senior Member
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,765
Default

The logic behind the e-Path payment method is such, that if a customer returns to the return URL (which is sent in the “ret” variable), this means that the order has been placed succesfully. So it gets the “Queued” status. This is how e-Path API works, unfortunately. They don’t allow send/use URLs for the declined/canceled transactions.

So the only way to overcome this for you is to return customer to some other URL (like shop home or, better, a special page in your site that tells what exactly happened). The order will stay in 'Incomplete' status and hence will not be shown in the control panel at all.
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Tags
cancel payment, e-path, ipizza, return url

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:02 AM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.