PayPal - Custom Parameters

Written By Luke Wakefield

Last updated 10 months ago

Paypal Custom Parameters

PayPal allows you to include different parameters as part of the SDK such as disabling payment options that are unwanted, as per the following link -> https://developer.paypal.com/docs/checkout/reference/customize-sdk

To use these parameters add this code to top of your Form layout, containing the parameters you want:

Example
{%- capture data -%}&disable-funding=sofort{%- endcapture -%} {%- export data, namespace: "s_paypal_options" -%}

This specific example will stop Sofort being offered as a payment option.