get

Get a PaymentComponent from a Composable.

Return

The Component

Parameters

paymentMethod

The corresponding PaymentMethod object.

checkoutConfiguration
componentCallback

The callback to handle events from the PaymentComponent.

order

An Order in case of an ongoing partial payment flow.

key

The key to use to identify the PaymentComponent.

NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.


Get a PaymentComponent with a stored payment method from a Composable.

Return

The Component

Parameters

storedPaymentMethod

The corresponding StoredPaymentMethod object.

checkoutConfiguration
componentCallback

The callback to handle events from the PaymentComponent.

order

An Order in case of an ongoing partial payment flow.

key

The key to use to identify the PaymentComponent.

NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.


Get a PaymentComponent with a checkout session from a Composable. You only need to integrate with the /sessions endpoint to create a session and the component will automatically handle the rest of the payment flow.

Return

The Component

Parameters

checkoutSession

The CheckoutSession object to launch this component.

paymentMethod

The corresponding PaymentMethod object.

checkoutConfiguration
componentCallback

The callback to handle events from the PaymentComponent.

key

The key to use to identify the PaymentComponent.

NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.


Get a PaymentComponent with a checkout session from a Composable. You only need to integrate with the /sessions endpoint to create a session and the component will automatically handle the rest of the payment flow.

Return

The Component

Parameters

checkoutSession

The CheckoutSession object to launch this component.

paymentMethod

The corresponding PaymentMethod object.

componentCallback

The callback to handle events from the PaymentComponent.

key

The key to use to identify the PaymentComponent.

NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.


Get a PaymentComponent with a stored payment method and a checkout session from a Composable. You only need to integrate with the /sessions endpoint to create a session and the component will automatically handle the rest of the payment flow.

Return

The Component

Parameters

checkoutSession

The CheckoutSession object to launch this component.

storedPaymentMethod

The corresponding StoredPaymentMethod object.

checkoutConfiguration
componentCallback

The callback to handle events from the PaymentComponent.

key

The key to use to identify the PaymentComponent.

NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.


Get a PaymentComponent with a stored payment method and a checkout session from a Composable. You only need to integrate with the /sessions endpoint to create a session and the component will automatically handle the rest of the payment flow.

Return

The Component

Parameters

checkoutSession

The CheckoutSession object to launch this component.

storedPaymentMethod

The corresponding StoredPaymentMethod object.

componentCallback

The callback to handle events from the PaymentComponent.

key

The key to use to identify the PaymentComponent.

NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.


Get a PaymentComponent from a Composable.

Return

The Component

Parameters

paymentMethod

The corresponding PaymentMethod object.

configuration

The Configuration of the component.

componentCallback

The callback to handle events from the PaymentComponent.

order

An Order in case of an ongoing partial payment flow.

key

The key to use to identify the PaymentComponent.

NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.


Get a PaymentComponent with a stored payment method from a Composable.

Return

The Component

Parameters

storedPaymentMethod

The corresponding StoredPaymentMethod object.

configuration

The Configuration of the component.

componentCallback

The callback to handle events from the PaymentComponent.

order

An Order in case of an ongoing partial payment flow.

key

The key to use to identify the PaymentComponent.

NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.


Get a PaymentComponent with a checkout session from a Composable. You only need to integrate with the /sessions endpoint to create a session and the component will automatically handle the rest of the payment flow.

Return

The Component

Parameters

checkoutSession

The CheckoutSession object to launch this component.

paymentMethod

The corresponding PaymentMethod object.

configuration

The Configuration of the component.

componentCallback

The callback to handle events from the PaymentComponent.

key

The key to use to identify the PaymentComponent.

NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.


Get a PaymentComponent with a stored payment method and a checkout session from a Composable. You only need to integrate with the /sessions endpoint to create a session and the component will automatically handle the rest of the payment flow.

Return

The Component

Parameters

checkoutSession

The CheckoutSession object to launch this component.

storedPaymentMethod

The corresponding StoredPaymentMethod object.

configuration

The Configuration of the component.

componentCallback

The callback to handle events from the PaymentComponent.

key

The key to use to identify the PaymentComponent.

NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.