To configure and customize your service plugin, you need to provide important details in the plugin.json
configuration file.
If you created your service plugin extension with the CLI, required fields are automatically populated for you.
Required.* Base URI where the endpoints are called. Wix eCommerce appends the endpoint path to the base URI.
For example, to call the Get Payment Settings endpoint at https://my-payment-settings.com/v1/payment-settings
,
the base URI you provide here is https://my-payment-settings.com/
.
The value to set for paymentSettings.requires3dSecure
if the service plugin call fails.
Default: false
This method retrieves payment settings from your app.
Wix calls this method during the payment process. For example, when a customer inserts credit card details and places an order. This method retrieves the payment settings to apply, and Wix passes on the settings to the payment provider.