Version: 2.5.0
PaymentMethodSelectContainer
Handles selecting one of the user's payment methods.
Usage#
Reference#
PaymentMethodSelectContainer#
Props#
onSuccess#
(selectedPaymentMethodId) โ void
Callback function called when the PaymentMethod is selected succesfully.
Children components#
Alert#
Displays the relevant errors or success messages.
PaymentMethodSelectList Required#
A selectable list of all the user's payment methods.
PaymentMethodSelectSubmit Required#
Instance of Button
A button component that submits the selected payment method.
Props#
name#
string?
The title displayed inside the button