Configuring Submarine

Payment processors

Disco Labs will configure API credentials for the merchant's selected payment processors within Submarine.

Payment gateway script

The merchant's active Payment Gateway Shopify Script will be updated to include logic to show or hide the Submarine payment gateway based on the type of order going through the Shopify checkout.

Theme customisation

Checkout customisation

A small customisation will be applied at the payment method step to properly display the Submarine payment gateway options during checkout.

Disco Labs can implement this customisation directly or provide code examples and instructions for the merchant or third party partner to install.

Customer purchase flow

The Shopify theme is customised to support the functionality enabled by Submarine (eg by capturing customer subscription preferences on the product page or in the checkout).

No specialised libraries or APIs are needed to develop these customer flows - they can be built using the Liquid, HTML, CSS and Javascript typically used for the development of Shopify themes. Special behaviours (such as configuring subscription frequencies) are driven through the use of standard Shopify features like Line Item Properties and Cart Attributes.

The design and implementation of these customisations is typically undertaken by the merchant's in-house development team or third party agency partner with support from Disco Labs.

Customer account interface

The customer account section of the merchant's Shopify theme is customised to support customer-facing Submarine functionality such as managing payment methods and subscriptions.

Customer account interfaces are typically built based on the Liquid, HTML, CSS and Javascript already in use for the merchant's Shopify theme, with the addition of an integration point to Submarine's Customer API for the retrieval and management of Submarine-specific data. The Submarine.js client library is provided to make interacting with the Submarine Customer API as easy as possible.

The design and implementation of these customisations is typically undertaken by the merchant's in-house development team or third party agency partner with support from Disco Labs.

Read more about theme changes to support Submarine in Guides for theme developers.