Going Live

When you're ready to launch your subscription service, follow these steps to ensure a smooth transition to the live environment.

Load the Live Version of SubscriptionJS

Make sure to use the live version of SubscriptionJS in your production environment by including the following script in your code:

<script type="text/javascript" src="https://selfservice.billwerk.com/subscription.js"></script>

Update API Keys and Identifiers

Replace the placeholders with your actual live settings:

paymentService = new SubscriptionJS.Payment({ publicApiKey : "your_live_publicApiKey_here" });

Update Plan and Component IDs

Ensure all references to plan variant ids and component ids are updated to correspond with those configured in the live system.

Verify Payment Service Provider Settings

Before going live:

  • Confirm that Payment Service Provider (PSP) settings are configured correctly for processing real payments in the live environment.
  • Conduct a test transaction for each payment method you plan to support to verify that the payment process works as expected.