• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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
5.2k
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 6 Mar 2021, 22:28

    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 8 Mar 2021, 04:28

      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
      • 3 months later
      • W
        wallace last edited by 28 May 2021, 13:39

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

        1 Reply Last reply Reply Quote 0
        • V
          Vaishali Agarwal last edited by Vaishali Agarwal 28 May 2021, 14:39 28 May 2021, 14:38

          @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
          2 out of 4
          • First post
            2/4
            Last post