Shopify

In this guide

Install the Pin Payments app on Shopify

Before you attempt to integrate with Shopify, make sure that you have successfully setup your Pin Payments account.

You will need to access both the Shopify Admin Portal and your Pin Payments Dashboard during these steps.

Retrieve your Pin Payments API keys

  1. Sign in to your Pin Payments Dashboard.
  2. Go to the Account Section.
  3. Go to API Keys.
  4. Copy Secret Key.

Install the Pin Payments app

  1. Browse to the Pin Payments App listing on the Shopify app store then select Add app.
  2. You'll be redirected to your Shopify store where you'll be prompted to install the Pin Payments App. Select Install app.

Configure the app settings

After installing the app you will need to configure it before it can be activated. In Shopify, select Manage to configure the application settings.

Configure the payments app

  1. Enter your Secret API Key (from your Pin Payments account).
  2. Enter the billing descriptor details. This is what appears on your customers bank statement.
  3. Select Save.
  4. After configuring the Account Settings section, navigate to Webhooks.
  5. Select Register Webhook and ensure the webhook is created successfully.

Configure the payments app

  1. In the Account Settings section, validate that the Account Not Ready tag has changed to Account Ready.

Configure the payments app

  1. Select the Back to Payments Settings button.
  2. You will be redirected to the alternative providers page in your Shopify store.
  3. Optionally, select Enable test mode if testing your integration using the Sandbox mode.
  4. Select the Activate button.

Configure the payments app

Webhooks should only be configured from within Shopify. There is no need to configure Webhooks in your Pin Payments account to use Shopify.


Test payments in sandbox mode

When testing in sandbox, ensure you are using test API keys and not live API keys.

  1. In the Shopify Admin Portal, browse to Settings > Payments.
  2. Under Pin Payments, select Manage.
  3. In the Test mode section, select Enable test mode.
  4. In the app’s settings page, ensure Sandbox mode is enabled.
  5. Browse to your storefront and add a product to your cart.
  6. Select your cart then proceed to checkout.
  7. Enter the required billing details. We recommend using a real email address so you can receive the order confirmation.
  8. Select Continue to shipping, then Continue to payment.
  9. Enter the following card details:
    • Number: 4200 0000 0000 0000
    • Expiry date: any date in the future
    • CVV: 100
  10. Select Pay. If you entered a genuine email address in the billing details, you'll also receive an order confirmation email.
  11. In the Shopify store admin, browse to Orders to confirm that the order has gone through.
  12. Sign in to your Pin Payments Dashboard.
  13. Browse to Charges, and click the Test button at the top of the screen. The order payment will be displayed with a status indication, such as Success.

Begin processing live payments

If you're happy with the outcome of your testing and are ready to start accepting live payments, follow these steps to go live.

Pin Payments configuration

  1. Sign in to your Pin Payments Dashboard.
  2. Go to Account Section.
  3. Go to API Keys.
  4. Copy Live Secret API Key.

Shopify configuration

  1. In your Shopify store's back office, browse to Settings, Payments, then select Manage next to Pin Payments.

Go live

  1. Select Manage in the More Actions section.

Go live

  1. On the App's configuration page, replace the API credentials with your Pin Payments live secret API key.
  2. Select Disabled to disable Sandbox mode, then select Save.
  3. Verify that the app’s status tag is now Account Not Ready.
  4. Navigate to Webhooks.
  5. Select Register Webhook and ensure the webhook was created successfully.

Go live

  1. In the Account Settings section, ensure that the Account Not Ready tag has changed to Account Ready.
  2. Select Back to Payments Settings to return to your store’s Payments page.
  3. Deselect Test mode.

Go live

  1. Select Save.

You are now ready to accept live payments from your Shopify store.

Payment refunds, captures, or voids after setup

We recommend you don't process refunds from your Pin Payments Dashboard. Refunds should be processed using the Shopify Order Management interface in your store’s back office. This is to maintain end-to-end order integrity on the Shopify platform.

After migrating to the new integration, orders from your original integration will still be available for post-authorization actions within Shopify's Order Management interface.

Payments that were processed using the original integration can be refunded, captured, and voided using the Shopify Order Management interface in your store’s back office.

Pin Payments acknowledges the Traditional Owners and Custodians of the Country throughout Australia and recognises their continuing connection to land, water and community.
We pay our respects to Aboriginal and Torres Strait Islander cultures, and to Elders past and present.