Shopify Payments Plugin
This document outlines the steps to install, configure, and test the PublicSquare Payments Shopify app. It includes details on accessing the PublicSquare Payments Portal, retrieving API keys, and enabling the payment provider in Shopify.
Before You Begin
This SDK requires the use of a Publishable and Secret API Key. Go to your Developers section and click Reveal
for your Publishable Key
and Secret Key
and copy the values. You will need these keys in this guide to complete installation.
If you have not yet created an account, schedule a demo with our team to get started.
Installation
This document outlines the steps to install, configure, and test the PublicSquare Payments Shopify app. It includes details on accessing the PublicSquare Payments Portal, retrieving API keys, and enabling the payment provider in Shopify.
Step 1: Install the PublicSquare Payments App
- Navigate to the Shopify App Store and search for "PublicSquare Payments".
- Click on the "PublicSquare Payments" app and click "Install".
- Follow the instructions to install the app.
Step 2: Configure the App
- Once the app is installed, you will be redirected to the app dashboard within your Shopify admin.
- Copy and paste your
Publishable Key
andSecret Key
from the PublicSquare Portal developers page into thePublishable Key
andSecret Key
fields. - Click on the "Update Keys" button to save your API keys.
Step 3: Enable the Payment Provider
- Once you have added your API keys and clicked "Update Keys", you will be redirected to the payment settings page to activate the payment method.
- (Optional) Enable test mode to test the payment method before going live.
- Click on the "Activate" button to activate the payment method.
Step 4: Test the Payment Method
- Navigate to the frontend of your Shopify test store.
- Add a product to the cart.
- Proceed to checkout.
- (Test mode only) Complete the payment using the following test card credentials:
- Card Number: 4242 4242 4242 4242
- Expiration Date: Any future date
- CVV: Any three-digit number
- Ensure the order is successfully processed.
Test cards for PublicSquare Payments
Available test cards: https://developers.publicsquare.com/api/testing#cards
Use the test card details provided in the PublicSquare Developers docs to simulate successful and failed transactions.
Step 5: Test Refunds
- Log in to Shopify Admin and navigate to Orders.
- Select the order to refund.
- Click “Refund” at the top right.
Full refunds
Ensure full item quantity is selected. The Refund Amount field should auto-fill with the full order amount.
Partial refunds
Select the item quantity to refund. The Refund Amount field should auto-fill with the full order amount. Adjust the refund amount to a value less than the full order amount.