Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

My payment gateway is DeltaPay in Greece.

 

They ask for return URL's for successful, failed, and canceled transactions.

 

The DeltaPay contribution available here sends all three to the same page (checkout_process) along with variables (1, 2, or 3) to identify whether the transaction was successful, failed, or cancelled.

 

For me, no matter what happens, the customer receives a "Thank you for your order..." message (from checkout_success) as though the payment was successful.

 

Can I redirect to a different page that suggests there was problem with the payment, and have the customer try to complete the order again? Directing to login or index isn't very intuitive.

 

Or, how can I trigger a failed payment message by redirecting Deltapay to a specific failed order screen in osC? Where in osC is that failed order message to be found?

 

Thanks

  • 1 month later...
Posted
My payment gateway is DeltaPay in Greece.

 

They ask for return URL's for successful, failed, and canceled transactions.

 

The DeltaPay contribution available here sends all three to the same page (checkout_process) along with variables (1, 2, or 3) to identify whether the transaction was successful, failed, or cancelled.

 

Erm, I don't think it does that. In before_process() function, it checks the variable that the bank returns, and if something goes wrong (error or cancel) it redirects the user in checkout_payment.php page, along with some error strings to be displayed to the user.

 

For me, no matter what happens, the customer receives a "Thank you for your order..." message (from checkout_success) as though the payment was successful.

 

Now that, I don't know why it's happening. It's supposed to work.

 

Can I ask you something else? Which were the URLs that you provided the bank with for error, ok and cancel?

 

I've been looking everywhere around this forum for actual support on winbank system of pireus bank, but no good. At least there already is a deltapay module! :)

Posted

@sugarenia,

 

Thanks for the reply.

 

The DeltaPay module works fine with the stock osC files. My problem arose because of misguided attempts to install other payment gateways and confusing the checkout_process.php code so that the before_process wasn't being called. There is indeed only 1 return URL and the DeltaPay module does receive and pass the variables as required, and the nice red error messages do display appropriately.

 

All is well in Athens again!

 

Best wishes on a WinBank mod...

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...