Jump to content

Payment gateway module with custom checkout Issue


Vignesh R

Recommended Posts

Hi guys, There is a payment gateway module called razorpay along with it iam using a custom checkout. I using a custom checkout called The Checkout and this module i lost support recently and now encountering a issue now. 

The issue comes up if i enable the custom checkout afterwhich iam not able to complete a order and the below screen is shown up as error

razaropresent1.thumb.PNG.754efee36cb1d44ee1a767e6709f4b1c.PNG

razaropresent2.PNG.4152160bca824909d0622b697cc349af.PNG

While searching solution i found this website from razorpay forum but the discussions are abrupt and not consulsively offer solution please check out this link - 

  1. https://github.com/razorpay/razorpay-prestashop/issues/28
  2. https://github.com/razorpay/razorpay-prestashop/issues/47
  3. https://stackoverflow.com/questions/58817043/razorpay-payment-id-returns-null-in-onpaymenterror-android

Below is successful completion of order with razorpay checkout popup after the custom checkout module is disabled and while default prestashop checkout is enabled

 

razaropresent3-defaultprestashopcheckout.PNG.37ccd39aa67bd32cd2f8aa52b8aab920.PNG

 

razaropresent3-defaultprestashopcheckout-working.PNG.dde9caaf9f71ce93a2d89d6ce03e73f1.PNG

 

Above is working payment gateway if default checkout is used i think the custom module is unable to send order if and the razorpay fetch id functionality by javascript is intrupted by it. I am just assuming but have clue whatso ever. Please check this out for me please my website is sanctifyyourself.com. I hope you guys will help me out again as iam stuck as usual on this too complicated for me to figure out myself😑

.

razaro present1.PNG

Link to comment
Share on other sites

I did install this Checkout once or twice. Fix for my with such issue was, totally remove module and payment module. next install payment module and then checkout ( clear cache in VAR folder ).

Second, even if you have lost support they should help you out either ask Razorpay support to test it.

Link to comment
Share on other sites

Hi there, Thanks for spending your valuable time to go though my problem and come up with a solution. Ok sure i will try out your method of flushing VAR cache files entire and reinstalling both the modules but if the problem still presists i will ping you back. Razorpay i really doubt there level of support for this free module actually they are more likely to blame other modules or theme for this issue anyways i will also try this option out and update you the progress. Thanks a lot once again🙂

Link to comment
Share on other sites

  • 2 weeks later...

Hello Vignesh!


I was also facing the same issue, I have came up with a solution. Here are the steps to follow
 

Step 1: Enable any other payment gateway with razorpay. (I used paytm in my case)

Step 2: Hide this payment gateway option in your theme custom css.

 

#payment-option-1-container{
    display: none !important;
}

 

Step 3: Save it and clear cache and see.

Your razorpay module is working.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...