Jump to content

Custom Payment Module error in order-confirmation page


Recommended Posts

I was trying to make one external payment module which redirects to payment gateway and comes back to order-confirmation at the end. I tried to copy the structure and code from prestashop official payment modules like ps_checkpayment.

Everything works except for the confirmation page. It says that products inside the order dont have is_virtual flag in the array and I already know if I turn off debug mode i will not face this. but Its an issue and I want to know how to fix.

I tried to place one order with ps_checkpayment and it was completely fine. I checked with xdebug and i could see that for the same order items there is is_virtual key in the array of order details.

image.thumb.png.14797b4433e3fe27d6dd50fae2a9e936.png

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...