Payment service 'process' not being called
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Re: Payment service 'process' not being called
If you remove these lines, the customer will be sent to the payment gateway even if the total basket value is 0.00 and they must enter their credit card details for example. Most customers will not understand that and cancel the order. Thus, the payment gateway must be skipped if the basket total is 0.00.
The way to go is to skip the payment gateway and redirect the customer directly to the confirmation page while passing the service code so the updateSync() methods of the payment service provider is called. There you can add your code you need but some payment service providers (like PayPal) will throw an error in that case because there's no transaction ID passed and they currently don't ignore that condition.
The way to go is to skip the payment gateway and redirect the customer directly to the confirmation page while passing the service code so the updateSync() methods of the payment service provider is called. There you can add your code you need but some payment service providers (like PayPal) will throw an error in that case because there's no transaction ID passed and they currently don't ignore that condition.
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
-
- Posts: 72
- Joined: 22 Mar 2021, 16:56
Re: Payment service 'process' not being called
That makes total sense, thanks for clarifying.
I'll open a pull request with the suggested changes now.
I'll open a pull request with the suggested changes now.