Getting "Expecting an order id" error in Javascript SDK

C_Cataldo
Contributor
Contributor

I need some help with the Javascript SDK. I am getting an "Expecting an order id" error. The event logs show a successful request. Here is the js debug:

 

buttons?style.label=…gPayments=true:1496 click_initiate_payment_reject

  1. {err: 'Error: Expected an order id to be passed\n at ht…ihxZprBU1hUjeHhmgpwlvRpkZQEr5J7jz_0ZvUUi:2:15690)', timestamp: '1678746767072', referer: 'www.sandbox.paypal.com', sdkCorrelationID: 'f1597397241ca', sessionID: 'uid_6c9c6fcf86_mji6mzi6mte',...
    1. buttonCorrelationID: "f254837d4ed59"
    2. buttonSessionID: "uid_bf20ffa86e_mji6mzi6mte"
    3. clientID: "AVSjP9Hobe73KY_OyKI6SuWUkH7XyNpTtXX_NZ-4ihxZprBU1hUjeHhmgpwlvRpkZQEr5J7jz_0ZvUUi"
    4. env: "sandbox"
    5. err: "Error: Expected an order id to be passed ...(removed content here to fit the max post message length)
    6. referer: "www.sandbox.paypal.com"
    7. sdkCorrelationID: "f1597397241ca"
    8. sessionID: "uid_6c9c6fcf86_mji6mzi6mte"
    9. time: "1678746767072"
    10. timestamp: "1678746767072"
    11. token: null
    12. user_id: "uid_bf20ffa86e_mji6mzi6mte"

       

Login to Me Too
1 REPLY 1

JBGBARB
New Community Member

Having the same issue. Did you find a solution?

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.