Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    PayPal Smart Button: "Error: Expected an order id to be passed"

    Bug Report
    4
    4
    5192
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      Gustavo Ayala last edited by

      Hi i configured the PayPal SmartButton with sandbox app account (ClientID, and SecretID) and multiple check that these were right, but whe try to test the payment of an order i get the following error:

      Error: Expected an order id to be passed
      

      I'm developing in my local pc, in apache and php 7.4

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Hi @Gustavo-Ayala,

        Just do one thing, open the network console. And can you share with me the response which is coming from the PayPal.

        1 Reply Last reply Reply Quote 0
        • W
          wallace last edited by

          I get the same error... was that resolved?

          1 Reply Last reply Reply Quote 0
          • V
            Vaishali Agarwal last edited by Vaishali Agarwal

            @wallace
            the error is coming from the paypal itself, it means you are trying to place an order in incorrect currency for which paypal business account is not setup.

            To resolve this you have to place an order with the same currency for which paypal account is registered.
            you may also go through with this https://github.com/bagisto/bagisto/issues/4655

            1 Reply Last reply Reply Quote 0
            • First post
              Last post