SwiftyStoreKit
SwiftyStoreKit copied to clipboard
How do I call this completeTransactions manually
There is a business scenario: Apple returned the payment success, I saved the order number, but the server exception did not close the transaction, at this time the server order is not paid, if the user clicks the order to continue to pay, I compare the server and the local order number if the same then the user has paid, I am manually calling completeTransactions to complete the transaction
If the user is asked to quit the app and reopen, it calling completeTransactions I think it is not appropriate