Update payment status after redirection from payment gateway
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Update payment status after redirection from payment gateway
Hi, thanks for the awesome package.
I created a custom aimeos payment service provider.
I am able to send the request to the external gateway using the "process" function.
After payment is processed by gateway, it redirects to a success url page with the transaction reference which I'll use to query the payment gateway before updating payment status values.
In this case my success url is: $this->getConfigValue( array( 'payment.url-success' ) ) and is returned like this:
http://store.dev/confirm?code=card_paym ... ference=65
How can I update the payment status values from the "payment.url-success" after redirecting from the payment gateway.
I created a custom aimeos payment service provider.
I am able to send the request to the external gateway using the "process" function.
After payment is processed by gateway, it redirects to a success url page with the transaction reference which I'll use to query the payment gateway before updating payment status values.
In this case my success url is: $this->getConfigValue( array( 'payment.url-success' ) ) and is returned like this:
http://store.dev/confirm?code=card_paym ... ference=65
How can I update the payment status values from the "payment.url-success" after redirecting from the payment gateway.
Re: Update payment status after redirection from payment gat
Great to hear that!
You have to implement the updateSync() method to update the payment status:
https://aimeos.org/docs/Developers/Libr ... ate_status
You have to implement the updateSync() method to update the payment status:
https://aimeos.org/docs/Developers/Libr ... ate_status
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star