SwiftyStoreKit icon indicating copy to clipboard operation
SwiftyStoreKit copied to clipboard

pay successed but it feedback error(Unknown error,Please contact support)

Open leviluo opened this issue 2 years ago • 5 comments

actually pay successd but it show "Unknown error,Please contact support", why it happends

leviluo avatar Oct 15 '21 02:10 leviluo

I have the same problem,

Echo-BraveShine avatar Oct 19 '21 06:10 Echo-BraveShine

We may also be experiencing this bug. Any ideas when this might be resolved?

Zacharyg88 avatar Oct 27 '21 15:10 Zacharyg88

Any solution?

paulocoutinhox avatar Nov 16 '21 19:11 paulocoutinhox

Happens to me as well, but in my case I get the error: "An unknown error occurred". Payment succeeded, but I get an error as feedback.

ivanhjel avatar Nov 30 '21 00:11 ivanhjel

Ok, we've been able to trace this, not fix it mind you, but at least we know exactly why it's happening. Basically, this occurs (for us) whenever a user needs to accept Apple's new Terms of Service agreement before making a purchase. When Apple updates their ToS, every App Store user needs to agree with them before making any more purchases, if your product is the first thing they try to purchase after the ToS are updated, Apple forces them to Accept or Decline them and that transition kicks back the "An unknown error occurred". The user presumably then accepts the new ToS, and continues to payment and that succeeds but the delegate functions for SwiftyKit don't catch that success. It's an odd use case but that's what we've found for our system.

Zacharyg88 avatar Dec 01 '21 15:12 Zacharyg88