Jump to content

Edit History

Oscar89

Oscar89


Cleaner issue title

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?
 

Oscar89

Oscar89

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?
 

Oscar89

Oscar89

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

 

Any body can help?
 

×
×
  • Create New...