PayPal Checkout Integration: Payment Error: Error: Expected an order id to be passed.

  • Profile Image
    garvey 
    Asked on January 07, 2020 at 07:19 AM

    1578399394pp.png


    the form works great in preview mode, took me a while to get it to work. but it won't work on the live website


    I get an error message telling me 'Payment error : payment can't be created'


    actually let me check my paypal account to see if management have completed the setup


  • Profile Image
    BDAVID
    Answered on January 07, 2020 at 08:56 AM

    Could you please share the exact URL of the web page where the form is embedded?

  • Profile Image
    desk_reception
    Answered on January 07, 2020 at 09:50 AM
    https://www.facesinfocus.org.uk/client-therapy/therapy-payments
    ...
  • Profile Image
    BDAVID
    Answered on January 07, 2020 at 11:11 AM

    Thank you for contacting us. The issue happens due to the quantities. If a quantity greater than zero is already populated, the integration expects the product to be selected:

    1578413197productPayPalCheckout.gif

    This seems to be a bug, as it should not be expecting a selection in the other products, since they are not even required.

    I'll escalate this to our back-end team. You will be notified if there is any update.

    Meanwhile, the only option to prevent this issue is by setting the minimum quantity range on each product to zero:

    1578413318quantityrage.png

    Result:

    1578413429worked.png

  • Profile Image
    desk_reception
    Answered on January 07, 2020 at 12:50 PM
    thank you
    ...
  • Profile Image
    desk_reception
    Answered on January 07, 2020 at 01:50 PM
    I can get it to work in preview but when it is on the actual website it
    does not work
    [image: image.png]
    ...
  • Profile Image
    BDAVID
    Answered on January 07, 2020 at 03:34 PM

    This integration appears not to be working correctly at the moment. I cloned your form again, and in this new clone version, the issue persisted:

    1578429234issue.png

    I'll add this in the bug report. We will need to wait for a resolution from our back-end team. You will be notified if there is any update.