Jump to content

Order REST API Issue : The hook new order is depreceated, please use actionValidateOrder instead in module gamification'


Oscar89

Recommended Posts

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:
image.thumb.png.74b38219d3d7f9813c71da85d3beb3eb.png

 

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 by Oscar89
Cleaner issue title (see edit history)
Link to comment
Share on other sites

  • Oscar89 changed the title to Order REST API Issue : The hook new order is depreceated, please use actionValidateOrder instead in module gamification'

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