Last Modified February 17, 2024

Testing the Shopify Connector

  1. Testing with new DNA Products
  2. Testing with Existing ACTIVE DNA Products
  3. How to TEST the integration - Step 1
  4. How to TEST the Order Process - Step 2
  5. Testing a Product Upgrade
  6. Testing a Subscription Renewal and Cancellation

Testing with new DNA Products

The best time to do testing of the connector with Shopify is when the DNA Product is still in TESTING MODE in software_DNA.

If the corresponding software_DNA product is in TESTING MODE, then the Shopify Test Order transactions will be completely processed, license activation codes will be generated/reserved, the license code will be sent to the Buyer and confirmation emails will be sent to you from Shopify and from softWORKZ. Check the emails received to ensure all is working. You can also verify that the license codes have been properly created/updated in the DNA Control Panel.

Remember that when you end TESTING MODE, all these fictitious codes will be deleted and statistics will be reset for the product.

 

Testing with Existing ACTIVE DNA Products

If the Product is already in ACTIVE mode in software_DNA, testing of the Shopify connector can also be done.

This is useful if you wish to add the Shopify connector to an ACTIVE Product or because you want to regularly test the Shopify connector to ensure all is in working order.

If the Product is ACTIVE, then your Test Order transactions will be validated but no action will be taken (ex: no license codes will be generated). You will receive emails with the Activation Code SHOPIFY_TEST_ORDER and an email from softWORKZ confirming the transaction was successfully received and validated, but not processed.

 

How to TEST the integration - Step 1

First step is to do a simple test of the integration :

From Shopify Home page, click on Settings -> Notifications -> Webhooks and from the action menu, select Send Test

Test Webhook

The software_DNA Account Contact Email will receive an error Notification for the Test Order with the License Activation Code SHOPIFY_TEST_ORDER to confirm the Test was received.

If you use PayWhirl for Subscriptions, navigate to PayWhirl App -> Settings , scroll down to the Webhooks section,
and click on Send Test.

Test2 Webhook

Paywhirl will confirm if the Test was successful and software_DNA will send a notification to the Account Contact Email with the License Activation Code PAYWHIRL_WEBHOOK_TEST to confirm the Test was received.

 

How to TEST the Order Process - Step 2

The second step is to test the complete Ordering process from your Shopify Online Store (this also applies to Subscriptions):

  • in the left-hand menu, click on Online Store, then click on View your store

  • View the Catalog to see all your products, and add one or multiple products to the shopping cart and click on Checkout.

  • fill in your Billing Information (bogus info OK) and continue to Payment Method

  • If you have enabled the Bogus Payment Gateway in your Shopify Payment Settings (see Shopify Help for this), then enter the following:

    • 1 as the credit card
    • any valid expiration date for the card
    • any 3-digit CSV code

    and click on Complete Order - you will not be charged for this Order

  • If you have not set the Bogus Payment Gateway, you will need to proceed with a real purchase and refund yourself immediately after. You may incur credit card fees.

No software_DNA fees will be incurred for Test Orders.

You will receive notification emails from Shopify, and software_DNA indicating success or failure. If you do not receive emails from software_DNA, recheck the configurations in Shopify and software_DNA.