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

I got the exception when I pressed the Paypal on IOS #26

Closed
chicrock opened this issue Jun 17, 2020 · 3 comments
Closed

I got the exception when I pressed the Paypal on IOS #26

chicrock opened this issue Jun 17, 2020 · 3 comments

Comments

@chicrock
Copy link

Hi ~ I got the exception below.

image

It happened when I pressed the Paypal button In DropIn request.

Here is my code.

var request = BraintreeDropInRequest(
  tokenizationKey: 'my token',
  collectDeviceData: false,
  paypalRequest: BraintreePayPalRequest(
    amount: '3.0',
    currencyCode: 'USD',
    displayName: 'Display',
  ),
);

BraintreeDropInResult result = BraintreeDropIn.start(request);

Are any other setups for Paypal in ios ?
Or, how can I set up the One Touch for callback URL ?

@chicrock chicrock changed the title I got the exception when I pressed the Paypal in IOS I got the exception when I pressed the Paypal on IOS Jun 17, 2020
@luakt1955
Copy link

luakt1955 commented Jun 18, 2020

I have same problem. Hope to have a solution soon. Many thanks.

I shall add that I have no problem running your example program. The PayPal button runs correctly. It only shows the above error message when I copy the codes (main.dart) to run. I have set up App Delegate and URL Types in Info.plist according to instructions. I just do not know where I am missing that your example runs smoothly but my copied codes gives me the above errors.

Please help. Grateful.

@DriftingShadows
Copy link

DriftingShadows commented Jun 30, 2020

I get exactly the same thing. Were there updates on this @pikaju by any chance?

EDIT: I fixed this by making sure the url was exactly the same as the one specified in info.plist . In my case, i had some capitalisations that i didnt put in the appdelegate

@pikaju
Copy link
Owner

pikaju commented Feb 9, 2023

This issue is very old, please reopen if it still persists in the latest version.

@pikaju pikaju closed this as completed Feb 9, 2023
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

4 participants