Integrating alternative payment methods into your payment form expands your payment options. These additions not only improve the customer experience but also help increase conversion rates by offering familiar and secure payment choices.
Subscribing to the payment form
Form events are essential checkpoints for monitoring customer interactions in payments.
events
allows you to receive real-time information and improve the customer experience.
Bizum button
By following the steps, you can add the
Bizum streamlines instant banking payments in Spain.
Bizum
button to your form and customize it to match your brand or preferences.
Display button
To enable Bizum button on the payment form:
- Configure the Bizum payment method for your channel.If you have not set up a Bizum button for your channels, contact Solidgate support.
- Provide the
future_usagethroughpaymentIntentobject.
| |
- Pass
bizumButtonParamswithenabledtrue to the init configuration when initializing the payment form via `PaymentFormSdk.init`.
| |
Customization
To set the Bizum button position, create, and specify a div, pass its id attribute value to the containerId parameter in the bizumButtonParams object.
| |
In this example, the div with the ID yourCustomContainerId is created and the containerId parameter in the bizumButtonParams object is set to the value yourCustomContainerId.
Without a specified containerId, the button appears by default above all fields of the Payment Form. If a non-existent container is specified, an error message appears in the console.
Container with id ='specified-container' does not exist.
Cash App Pay button
By following the steps, you can add the
Cash App is a US digital wallet that processes online transactions.
Cash App Pay
button to your form and customize it to match your brand or preferences.
Display button
To enable the Cash App Pay button on the payment form:
- Configure the Cash App Pay payment method for your channel.If you have not set up a Cash App Pay button for your channels, contact Solidgate support.
- Provide the
future_usage,geo_country,success_url, andfail_urlthroughpaymentIntentobject.
| |
- Pass
cashAppButtonParamswithenabledtrue to the init configuration when initializing the payment form viaPaymentFormSdk.init.
| |
Customization
To set the Cash App Pay button position, create, and specify a div, pass its id attribute value to the containerId parameter in the cashAppButtonParams object.
| |
In this example, the div with the ID yourCustomContainerId is created and the containerId parameter in the cashAppButtonParams object is set to the value yourCustomContainerId.
Without a specified containerId, the button appears by default above all fields of the Payment Form. If a non-existent container is specified, an error message appears in the console.
Container with id ='specified-container' does not exist.
PayPal button
By following the steps, you can add the
PayPal provides a global online payment platform for secure transactions.
PayPal
button to your form and customize it to match your brand or preferences.
Display button
To enable the PayPal button on the payment form:
- Configure the PayPal payment method for your channel.If you have not set up a PayPal button for your channels, contact Solidgate support.
- Pass
paypalButtonParamswithenabledtrue to the init configuration when initializing the payment form viaPaymentFormSdk.init.
| |
order_id using
init payment
API
requests and on the payment form at the same time.If you are already using a PayPal host-to-host button, disable it so that orders are created and processed automatically by the payment form.
Customization
| |
Pix button
By following the steps, you can add the
Pix simplifies real-time payments in Brazil with secure and instant account-to-account transfers.
SmartPix
button to your form and customize it to match your brand or preferences.
Display button
To enable the SmartPix button on the payment form:
- Configure the SmartPix payment method for your channel.If you have not set up a SmartPix button for your channels, contact Solidgate support.
- Pass
pixButtonParamswithenabledtrue to the init configuration when initializing the payment form viaPaymentFormSdk.init.
order_id using
init payment
API
requests and on the payment form at the same time.If you are already using a Pix host-to-host button, disable it so orders are created and processed automatically by the payment form.
Subscribe to the mounted
Form events are essential checkpoints for monitoring customer interactions in payments.
event
to check when the SmartPix button is set up and displayed. When the event is emitted for the applebtn entity, this means the SmartPix button is fully displayed.
Customization
To set the SmartPix button position, create, and specify a div, pass its id attribute value to the containerId parameter in the pixButtonParams object.
| |
In this example, the div with the ID yourCustomContainerId is created and the containerId parameter in the pixButtonParams object is set to the value yourCustomContainerId.
Without a specified containerId, the button appears by default above all fields of the Payment Form. If a non-existent container is specified, an error message appears in the console.
Container with id ='specified-container' does not exist.