This option allows highly configureable payment methods. This includes (but is not limited to) custom dropdown fields and referencing to external data sources.
Configuring
Go To configure a Custom Script Payment Method, go to admin panel:
Home › B3_Checkout › Partner payment methods › Add partner payment method
SelectIn the modal, select:
the partner this payment method is for
Custom
as a type namecheck
Enable custom component
Paste a configuration JSON into the
Public config arguments
fieldSet a priority, for instance
1
. This changes the order in which the labels appear during checkout
...
This restricts the input for users to a set of choices as shown in the screenshot below.
...
Be sure to change the name
of the payment method as well as the name
of the customer field. Set required
as appropriate. Be sure to not change the fieldType
. The options describe the possible selections for the user. label
is what is shown to the user. value
is what is taken as the final option and is thus shown in the service panel, documents and CSVs.
...