chore(note): explain why the STPPaymentResult callback changed
This commit is contained in:
parent
7a1f4c25d1
commit
a7a762d43f
@ -248,6 +248,9 @@ import Stripe
|
|||||||
|
|
||||||
print("[StripePaymentsPlugin].paymentContext.didCreatePaymentResult: \(resultMsg)")
|
print("[StripePaymentsPlugin].paymentContext.didCreatePaymentResult: \(resultMsg)")
|
||||||
successCallback(paymentStatusCallback, resultMsg, keepCallback: true)
|
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)
|
completion(STPPaymentStatus.success, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user