Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] paypal login doesn't work #111

Open
rever96 opened this issue Jul 8, 2021 · 1 comment
Open

[BUG] paypal login doesn't work #111

rever96 opened this issue Jul 8, 2021 · 1 comment

Comments

@rever96
Copy link

rever96 commented Jul 8, 2021

Software Package Version:
"react-paypal-button-v2": "^2.6.3"

Describe the bug
using the code example I gets the 3 buttons to be shown, but clicking paypal and than inserting the correct email and password
it results in fail authentication.

To Reproduce

  1. Add code:
import { PayPalButton } from "react-paypal-button-v2";
[...]
<PayPalButton
        amount="0.01"
        shippingPreference="NO_SHIPPING"
        onSuccess={(details, data) => { }}
        options={{ clientId:'',}}
      />
  1. Replace the ID with my Paypal sandbox Client ID
  2. click paypal
  3. insert correct email and password data

anyway I would to show only the paypal button not the credit card and bank

@jahkoora
Copy link

@rever96 perhaps you are trying to login with your actual paypal account and not a sandbox account?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants