chore(note): explain why the STPPaymentResult callback changed

This commit is contained in:
codinronan 2019-09-10 23:46:53 -05:00 committed by GitHub
parent 7a1f4c25d1
commit a7a762d43f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}