Closed kalina559 closed 1 year ago
Hi @kalina559 , We are regret about this inconvenience. We are working on this issue and update you soon.
Thanks,
Hi,
Has there been any progress on this issue?
Hi @kalina559
The issue has been fixed and we will make a new hotfix release as soon as possible
Hi,
When can the hotfix release be expected?
Hi @kalina559 Can you please check if your issue has been resolved in v2.7.1 release of the SDK?
Hi, unfortunately it didn't help, I'm still getting the same error when I'm using the the deprecated PiaSDK.getInstance().startPayPalProcess(this, bundle, createHandler())
I tried using the approach from your docs with ActivityResultLauncher, but I'm getting the same error.
Hi @kalina559
You are facing this issue only on test environment? And it's working fine on production environment, right?
I'm currently investigating how to implement PayPal into our app so I haven't even tried using it in production environment.
Hi @kalina559
We are currently discussing this issue with our backend team. We will update you once there's any progress on this problem.
Great, thanks for the update :)
Hi @kalina559 can you please check now, if it is working for you or not? Backend team has fixed the issue
Hi,
Now it's working! Thank you very much for the help :)
Great to hear that
Hi,
I have some problems implementing the PayPal flow in an Android app, namely Pia-SDK keeps crashing when I try to use PayPal in app. I managed to make it work in our webshop (the money was successfully captured on PayPal merchant account), so I don't think it's a problem with setting up the PayPal account or making the Register call.
This is the call I'm making to register the app payment: https://test.epayment.nets.eu/Netaxept/Register.aspx?token=REDACTED&serviceType=B&customerCountry=DK&redirectUrl=http%3A%2F%2Flocalhost%2Fdummy.htm&paymentMethodActionList=%5B{"PaymentMethod" %3A "PayPal"%2C "Fee" %3A 0}%5D&customerNumber=77359&transactionReconRef=1704699&orderNumber=1704699¤cyCode=DKK&amount=1300&merchantId=REDACTED
Then in my app I'm running
PiaSDK.getInstance().startPayPalProcess(this, bundle, createHandler())
(createHandler() is our custom method) To compare, the currently working solution looks almost exactly the same, but with this line instead:PiaSDK.getInstance().start(this, bundle, createHandler())
After running startPayPalProcess() I'm redirected to the terminal and I see this for a couple of seconds:Then the app crashes completely with this error in the logs:
The SDK code is obfuscated so I'm not sure what's happening there, but I tried debugging it and it seems like the error is coming from PayPalActivity.class, specifically the line with a breakpoint:
Instead of Status.SUCCESS I get this.a.getStatus() == Status.THREEDSECURE.
Could you help me find what I'm doing wrong?