Skip to main content

Purposes

Specify purposes

You may define available purposes like in the following example.
The values you specify with purposes config option are just the keys, which may be any strings you like.

Hide purposes block

If you want to hide "Purposes" block in the widget, you can disable it like in the following example.
It's important to set purposes config option to the blank array [], otherwise the first default purpose is autoselected even if the payment_purposes block is hidden.