News:

AbanteCart v1.4.2 is released.

Main Menu
support

sending payment status

Started by shahiran12395, May 21, 2019, 03:38:24 AM

Previous topic - Next topic

shahiran12395

afternoon, i have problem with redirect back from payment gateway after success or fail. Can someone advice me on how to sent success payment or failed payment to the system.

FYI, im creating my own payment extension. below partial code on how parameter is sent to the payment gateway.

abolabo

Hi.
You should to change order status if order fail or succeded and redirect to rt=checkout/success.
See file public_html/extensions/default_pp_standart/storefront/controller/responses/extension/default_pp_standart.php as example
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

shahiran12395

okey. btw how can i fix this parameter in url
rt=checkout/success?paid=0&id=my19403_1558509080_478&puid=my19403_1558509085_50932&vt=3210C781069622E6547D2A25FE68BAF4

because the parameter will be sent by the payment provider using url_return in my previous post

Forum Rules Code of conduct
AbanteCart.com 2010 -