Oscar89 Posted May 7, 2023 Share Posted May 7, 2023 (edited) I'm trying to integrate my system with prestashop. I'm trying to create a new order through /API/Orders Here is my data I send: Quote <prestashop> <order> <id_address_delivery>8</id_address_delivery> <id_address_invoice>8</id_address_invoice> <id_cart>17</id_cart> <id_currency>1</id_currency> <id_lang>1</id_lang> <id_customer>3</id_customer> <id_carrier>7</id_carrier> <module>ps_checkpayment</module> <payment>Payment by check</payment> <conversion_rate>1.000000</conversion_rate> <total_paid>560000.000000</total_paid> <total_paid_real>0.000000</total_paid_real> <total_products>560000.000000</total_products> <total_products_wt>560000.000000</total_products_wt> </order> </prestashop> But then i'm facing this error: Eventhough, the order is created with "Remote Payment Accepted" only the response is 500 Internal Error as showing in the picture. Any body can help? Edited May 8, 2023 by Oscar89 Cleaner issue title (see edit history) Link to comment Share on other sites More sharing options...
Oscar89 Posted May 8, 2023 Author Share Posted May 8, 2023 Anyone can help on this? When i activate Debug Mode, it response 201 but no log is created Link to comment Share on other sites More sharing options...
Oscar89 Posted May 8, 2023 Author Share Posted May 8, 2023 I find solution for my own issue. I'm using Prestashop 8.0.2 and i need to access my DB -> ps_hook_module and change the id_hook with 963 --> 1 So it will be like this: Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now