Omnipay
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!
- harshithvemula
- Posts: 33
- Joined: 19 Jul 2020, 16:27
Omnipay
I have integrated instamojo payment gateway and it needs certain parameters like name, phone, email , redirect url and i would like to take name, phone, email from the checkout form. How to do this ? Also how to set the redirect url ?
Re: Omnipay
You can select "address: yes" in the admin backend -> Service panel -> your payment option -> config table on the right side. This will pass the address from the order to the Omnipay driver. The URL for the checkout confirmation page is automatically added:
- https://github.com/aimeoscom/ai-payment ... #L719-L726
- https://github.com/aimeoscom/ai-payment ... y.php#L692
- https://github.com/aimeoscom/ai-payment ... y.php#L859
- https://github.com/aimeoscom/ai-payment ... #L719-L726
- https://github.com/aimeoscom/ai-payment ... y.php#L692
- https://github.com/aimeoscom/ai-payment ... y.php#L859
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

- harshithvemula
- Posts: 33
- Joined: 19 Jul 2020, 16:27
Re: Omnipay
https://github.com/gentor/omnipay-instamojo
I am using the above package and in the admin panel the address field in the payment gateway config is yes. But still my payment gateway is not able to retrieve name,phone, email and redirect url
I am using the above package and in the admin panel the address field in the payment gateway config is yes. But still my payment gateway is not able to retrieve name,phone, email and redirect url
Re: Omnipay
The Instamojo driver doesn't fully comply to the Omnipay standards and requires to add the customer details as parameters instead of inside a card object:
https://github.com/gentor/omnipay-insta ... hp#L23-L25
The correct way is:
https://github.com/academe/OmniPay-Payo ... #L266-L348
https://github.com/gentor/omnipay-insta ... hp#L23-L25
The correct way is:
https://github.com/academe/OmniPay-Payo ... #L266-L348
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
