Product Guides
Shopify
In this guide
- Install the Pin Payments app on Shopify
- Configure the app settings
- Test payments in sandbox mode
- Begin processing live payments
- Refunds, captures and voids after setup
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
- Sign in to your Pin Payments Dashboard.
- Go to the Account Section.
- Go to API Keys.
- Copy Secret Key.
Install the Pin Payments app
- Browse to the Pin Payments App listing on the Shopify app store then select Add app.
- 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.
- Enter your Secret API Key (from your Pin Payments account).
- Enter the billing descriptor details. This is what appears on your customers bank statement.
- Select Save.
- After configuring the Account Settings section, navigate to Webhooks.
- Select Register Webhook and ensure the webhook is created successfully.
- In the Account Settings section, validate that the Account Not Ready tag has changed to Account Ready.
- Select the Back to Payments Settings button.
- You will be redirected to the alternative providers page in your Shopify store.
- Optionally, select Enable test mode if testing your integration using the Sandbox mode.
- Select the Activate button.
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.
- In the Shopify Admin Portal, browse to Settings > Payments.
- Under Pin Payments, select Manage.
- In the Test mode section, select Enable test mode.
- In the app’s settings page, ensure Sandbox mode is enabled.
- Browse to your storefront and add a product to your cart.
- Select your cart then proceed to checkout.
- Enter the required billing details. We recommend using a real email address so you can receive the order confirmation.
- Select Continue to shipping, then Continue to payment.
- Enter the following card details:
- Number:
4200 0000 0000 0000
- Expiry date:
any date in the future
- CVV:
100
- Number:
- Select Pay. If you entered a genuine email address in the billing details, you'll also receive an order confirmation email.
- In the Shopify store admin, browse to Orders to confirm that the order has gone through.
- Sign in to your Pin Payments Dashboard.
- 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
- Sign in to your Pin Payments Dashboard.
- Go to Account Section.
- Go to API Keys.
- Copy Live Secret API Key.
Shopify configuration
- In your Shopify store's back office, browse to Settings, Payments, then select Manage next to Pin Payments.
- Select Manage in the More Actions section.
- On the App's configuration page, replace the API credentials with your Pin Payments live secret API key.
- Select Disabled to disable Sandbox mode, then select Save.
- Verify that the app’s status tag is now Account Not Ready.
- Navigate to Webhooks.
- Select Register Webhook and ensure the webhook was created successfully.
- In the Account Settings section, ensure that the Account Not Ready tag has changed to Account Ready.
- Select Back to Payments Settings to return to your store’s Payments page.
- Deselect Test mode.
- 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.