harrowmykel / flutter_paypal_native

Native implementation of paypal with Flutter
Other
13 stars 19 forks source link

Complete order button loading endless #20

Open Kuhno92 opened 1 year ago

Kuhno92 commented 1 year ago
image

Any idea why the blue confirmation button has this endless loading animation?

Philnue commented 1 year ago

Hey, @Kuhno92

Do you see in the Sandbox mode the payer and cart data ? For me it is empty.

harrowmykel commented 1 year ago

I dont know why it does the the endless loop but you can click it twice and it works

Kuhno92 commented 1 year ago

@Philnue yes I can see everything in sandbox mode. Only the endless loop is always there

suyashnehete commented 1 year ago

any update on this issue?

harrowmykel commented 1 year ago

Unfortunately this seem to be a problem from paypal :(

harrowmykel commented 1 year ago

Please upgrade to new version v2.0.0 . You have to remove something from android manifest. See readme.md

waqas-alii commented 10 months ago

@harrowmykel not working in v2.0.0 , still getting the same endless loop. Any update or workaround for this?

harrowmykel commented 10 months ago

Try Version 2.0.2

waqas-alii commented 10 months ago

Did that but still got the same endless loader

harrowmykel commented 10 months ago

Just click the button again. It should work. The problem is from paypal unfortunately. The button shows loading but it is already loaded

waqas-alii commented 10 months ago

It appears that the endless loader persists on iOS despite clicking the button, while it works fine on Android.

alperragib commented 10 months ago

I have the same problem and it continues. How do we solve this? Can you help?

Navarad commented 5 months ago

The problem persists on iOS and package version 2.1.0

ot-repo commented 5 months ago

Hello, any update on this issue? This confuses the customer as they think it's still loading and do not press on the button without a text. Without fixing this problem we cannot use the plug in. Hope you can deliver a fast solution.

harrowmykel commented 5 months ago

Unfortunately i dont know how to solve the issue. It is from the ios paypal package :(

ot-repo commented 5 months ago

This is not right, I have just run the demo application given with the ios sdk and it worked as it should be without spinning icon. Maybe they have fixed it?

https://github.com/paypal/paypal-ios

harrowmykel commented 5 months ago

@ot-repo can you upload your demo application code on github so that i can compare the implementation?

ot-repo commented 5 months ago

@harrowmykel it's already on the same repository:

https://github.com/paypal/paypal-ios/tree/main/Demo/Demo

The native checkout is here:

https://github.com/paypal/paypal-ios/blob/main/Demo/Demo/SwiftUIComponents/SwiftUINativeCheckoutDemo.swift

ot-repo commented 5 months ago

@harrowmykel In the read.me file it's documented how you can start the demo application:

Demo Open PayPal.xcworkspace in Xcode Resolve the Swift Package Manager packages if needed: File > Packages > Resolve Package Versions or by running swift package resolve in Terminal Select the Demo scheme, and then run

ot-repo commented 5 months ago

Hi @harrowmykel any update on this issue?

ot-repo commented 4 months ago

Hi @harrowmykel I am running out of time. I need to somehow solve this problem. Could you compare your implementation with the demo application? anything I can help you with? I appreciate your feedback.

harrowmykel commented 4 months ago

Hey I am so sorry to reply now. This package uses paypal checkout sdk which is deprecated by PayPal. The demo app that you sent uses the new PayPal ios sdk which is different. I have not been able to fix the problem and I do not think that I can fix it. I may have to move to the new sdk but I unfortunately currently do not have the time for it at the moment.

ot-repo commented 4 months ago

Alright, thank you anyway!

ot-repo commented 4 months ago

Hello @harrowmykel, how can I reach you in private? I want to make you an offer.

harrowmykel commented 4 months ago

Yes sure. How would you like to contact me? You can use Contactpiccmaq@gmail.com if you would like to send an email

Rishan99 commented 3 months ago

Any Progress on this issue?

keyurmavadiya commented 3 months ago

Any one found the solution?

sammrafi commented 3 months ago

@keyurmavadiya, @Rishan99, I created a new plugin with an updated SDK and some improvements. This problem has been fixed in this plugin.

Check out this plugin: PayPal Native Checkout.