chore(note): explain why the STPPaymentResult callback changed

feat/update-stripe-sdk
codinronan 5 years ago committed by GitHub
parent 7a1f4c25d1
commit a7a762d43f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -248,6 +248,9 @@ import Stripe
print("[StripePaymentsPlugin].paymentContext.didCreatePaymentResult: \(resultMsg)")
successCallback(paymentStatusCallback, resultMsg, keepCallback: true)
// This is here to, for example, inform the context that the user canceled payment (if we were processing it
// from the native side). However we are not handling it here.
completion(STPPaymentStatus.success, nil)
}

Loading…
Cancel
Save