Post data missing after redirection from payment gateway confirmation

Help for integrating the Laravel package
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!
veeran ambalam
Posts: 19
Joined: 06 Mar 2021, 14:51

Post data missing after redirection from payment gateway confirmation

Post by veeran ambalam » 09 Jul 2021, 11:08

Hi, I am using Razorpay and Omnipay, I managed to integrate with Razorpay, and it's working fine, But on callback URL "https://kobza.in/shop/confirm?code=razo ... nfirmation" on updateSync(), I am not getting the post data sent by Razorpay, I checked $_POST it is also empty. Can you please help me?

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Post data missing after redirection from payment gateway confirmation

Post by aimeos » 11 Jul 2021, 16:38

Seems like Razorpay didn't send any data if $_POST is empty and $_GET also contains no additional data.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

veeran ambalam
Posts: 19
Joined: 06 Mar 2021, 14:51

Re: Post data missing after redirection from payment gateway confirmation

Post by veeran ambalam » 13 Jul 2021, 05:31

I found the issue, it's because of HTTP to HTTPS redirection, on redirecting $_POST data is lost, when I added the correct URL it worked fine.

User avatar
VirtualSpy
Advanced
Posts: 122
Joined: 05 Jul 2022, 07:55

Re: Post data missing after redirection from payment gateway confirmation

Post by VirtualSpy » 09 Aug 2022, 06:57

hello veeran ambalam sir ,

please guide me to integrate omnipay-razorpay

Post Reply