You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
For external payment type integration I should pass data to BE to notify which payment type was used for the specific transaction. Also I need to apply analytics for payment type.
Describe the solution you'd like
ExternalPaymentMethodResultHandler.onExternalPaymentMethodResult(
context = fragmentActivity,
externalPaymentMethodResult = ExternalPaymentMethodResult.completed(paymentMethodType = "external_paypal"),
)
val paymentSheet = rememberPaymentSheet(
externalPaymentMethodConfirmHandler = remember { viewModel.paymentMethodConfirmHandler },
paymentResultCallback = { paymentSheetResult ->
viewModel.handlePaymentSheetResult(paymentSheetResult)
if (paymentSheetResult is PaymentSheetResult.Completed) {
val paymentType = paymentSheetResult.paymentMethod,
}
},
)
Describe alternatives you've considered
Additional context
I'm using multiple external payment types
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
For external payment type integration I should pass data to BE to notify which payment type was used for the specific transaction. Also I need to apply analytics for payment type.
Describe the solution you'd like
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: