AbanteCart Community

AbanteCart Development => Development Help Needed => Topic started by: shahiran12395 on May 21, 2019, 03:38:24 AM

Title: sending payment status
Post by: shahiran12395 on May 21, 2019, 03:38:24 AM
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.
Title: Re: sending payment status
Post by: abolabo on May 21, 2019, 04:51:30 AM
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
Title: Re: sending payment status
Post by: shahiran12395 on May 22, 2019, 03:17:05 AM
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