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

Invalid Scope #23

Closed
jkblgithub opened this issue Jul 12, 2019 · 6 comments
Closed

Invalid Scope #23

jkblgithub opened this issue Jul 12, 2019 · 6 comments

Comments

@jkblgithub
Copy link

jkblgithub commented Jul 12, 2019

Hi,

We are trying to test a sandbox transaction. We use your REST API to generate an order_id server side, which we then use to launch the checkout as follows:

PYPLCheckout* checkout = [PYPLCheckout sharedInstance];
checkout.serviceEnvironment = kPYPLEnvironment_SandBox;
 [checkout startCheckoutWithECToken:@"3VB96611PE542521D" withDelegate: self];

Unfortunately, we get the screen as per the attached image. Could you please advise as to the possible cause?

Kind regards,

Juan

Simulator Screen Shot - iPhone Xʀ - 2019-07-12 at 10 32 22

@jkblgithub jkblgithub changed the title Undefined Symbol Invalid Scope Jul 12, 2019
@fbarraganef
Copy link

I have the same issue and I don't have any idea the reason, why is happening.

@jkblgithub
Copy link
Author

I think this lib is no longer supported. Use the paypal/braintree express checkout instead : https://developer.paypal.com/docs/accept-payments/express-checkout/ec-braintree-sdk/get-started/

@fbarraganef
Copy link

fbarraganef commented Dec 5, 2019

@jkblgithub I can't use it, because the app where I have to integrate is in Mexico and Braintree is not available for that country.

I think this lib is no longer supported. Use the paypal/braintree express checkout instead : https://developer.paypal.com/docs/accept-payments/express-checkout/ec-braintree-sdk/get-started/

@jkblgithub
Copy link
Author

You dont need a braintree account to use it, just paypal. It’s all in the docs i linked

@fbarraganef
Copy link

fbarraganef commented Dec 5, 2019

@jkblgithub I will need to implement extra functionality from my server side, right? because I'm using version 2 (/orders and /payments)from PayPal API, and Braintree is requesting me a clientTokenOrTokenizationKey , If I am creating a order with:
https://developer.paypal.com/docs/api/orders/v2/

I will need create the order using Braintree server SDK again and get the client token and proceed to process the payment using Braintree.

Thanks,

@jkblgithub
Copy link
Author

Yes, you will need to get a token from braintree at the start of every session. We dont use orders, we simply do a transaction.sale on the server after the user got a nonce in the app after completing the paypal payment details.

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

3 participants