The Shopify Payments connector captures authorized payments on your Shopify orders when the app marks them as ready to capture. It works alongside your main Shopify connector, which imports the orders and their payment authorizations. This connector only captures payments, and it records a capture as complete only after Shopify confirms it.
With this connector, you can:
- Capture payments that are pending capture in the app on the matching Shopify orders every 5 minutes.
- Capture payments only for orders from the Shopify integration you pair with this connector.
- Avoid duplicate charges, because the connector checks Shopify for existing captures before it captures again.
- See an exception on any payment that Shopify declines or doesn’t settle.
Setup
Before you begin
Make sure you have:
- A Shopify store that’s already connected to the app through the Shopify connector. This connector captures payments for that store only.
- Card payments that Shopify authorizes at checkout and captures later. The connector is built for Shopify Payments, which is available only in some countries. See Supported countries for Shopify Payments.
- Access to the Shopify admin as the store owner, or as a staff member with the Manage and install apps and channels permission. Shopify lets staff manage an app only when their permissions match the access the app requests, so the store owner is the simplest choice.
- The integration ID of your Shopify integration in the app.
- Payment capture turned on for your organization and for your Shopify integration in the app. To turn it on, submit a support request. Pipe17 support also sets when payments are captured, for example when items are fulfilled.
Prepare Shopify
You don’t create any keys in Shopify. You approve the app’s access when you connect. Before you connect:
- In the Shopify admin, go to Settings > Payments. In the Payment capture method section, select Manually, and then click Save. See Payment authorization and capture.
- In the app, open your Shopify integration. On the Settings tab, add authorized to Process only orders with following financial statuses, and then click Save. If it’s blank, only paid, refunded, and partially refunded orders are imported, so authorized orders never reach the app.
- Wait until Pipe17 support confirms that payment capture is on and that capture is handed over to this connector for your store. Until then, don’t enter the integration ID in step 6 of Connect in the app. If you do, the same payment can be captured twice.
Note: With Automatically at checkout, Shopify captures the payment itself and there’s nothing left to capture. With Automatically when the entire order is fulfilled, Shopify captures on fulfillment, and the connector only records the capture Shopify already made.
Note: Shopify Payments authorizations expire after 7 days. Other providers can be different. A payment that isn’t captured before its authorization expires can’t be collected. Capturing part of an amount more than once on one authorization depends on your plan and card type. See Capturing payments.
Connect in the app
- Navigate to Integrations in the app.
- Click Add Integration, and then select Shopify Payments. The pop-up opens.
- Optional: Enter any extra Shopify access scopes you need under Request additional access scopes. Add them before you connect, or reconnect later to apply them. Most stores leave this empty.
- Click Connect. Shopify opens in your browser.
- Sign in to Shopify, select the same store that your Shopify integration uses if prompted, and then approve the requested access. Finish within 15 minutes of clicking Connect. Otherwise, the connection fails and you need to connect again. When the connection completes, Shopify shop URL (readonly) shows your store’s URL.
- After Pipe17 support confirms the handover, open the Shopify Payments integration. On the Settings tab, under Payments, enter the integration ID of your Shopify integration in Selling Shopify integration ID to capture payments for, and then click Save.
Note: If you aren’t ready to sign in to Shopify yet, click Add without credentials. The integration is added but doesn’t capture payments until you connect it from its Connection Details tab.
Confirm the connection
- Navigate to Integrations. Shopify Payments shows Connected. If it shows Not Configured, the Shopify authorization wasn’t finished. If it shows Error, open the integration and click Connect again on the Connection Details tab.
- Make sure the switch on the integration’s row is on.
- On the Connection Details tab, check that Shopify shop URL (readonly) is the same store as your Shopify integration.
- Test with one low-value order. Place an order in Shopify and check that its payment status is Authorized. Wait for the order to import into the app through your Shopify integration.
- Fulfill the order the way you normally do, so the app marks the payment as ready to capture.
- The connector runs every 5 minutes, and Shopify confirms the capture on a later run. Within about 15 minutes, open the order in the Shopify admin. The payment status changes from Authorized to Paid, and the order’s timeline shows the capture. In the app, the order’s payment shows Captured.
Note: This connector has no order filter. Once you save the integration ID, it captures every payment that’s ready to capture for that Shopify integration, so the test order is simply the first one to reach capture. If the payment has an exception instead, see Troubleshooting.
Settings
- Selling Shopify integration ID to capture payments for (under Payments on the Settings tab): The integration ID of the Shopify connector whose orders this connector captures payments for. The connector captures payments only for orders from that integration. Until you set it, the connector doesn’t capture any payments.
Flows
| Flow | Direction | Notes |
|---|---|---|
| Payment captures | Pipe17 → Shopify | Runs every 5 minutes. The connector picks up payments that are pending capture in the app, finds the matching authorization on the Shopify order, and captures the payment amount against it. If Shopify already has captures that cover the amount, the connector marks the payment as captured without capturing again. |
| Capture confirmation | Shopify → Pipe17 | Shopify processes captures asynchronously, so the connector checks the capture on each run until Shopify settles it. A successful capture moves the payment to Captured. A declined capture fails the payment and adds an exception. If Shopify hasn’t settled the capture after 12 checks (about 1 hour), the connector adds an exception once. |
| Orders, authorizations, and refunds | Not supported | This connector doesn’t import orders, payment authorizations, or refunds. Your main Shopify connector handles them. |
Troubleshooting
-
Authorized orders don’t appear in the app
Your Shopify integration imports only paid, refunded, and partially refunded orders by default. On the Shopify integration’s Settings tab, add authorized to Process only orders with following financial statuses, and then click Save. -
Payments show as captured, but the connector didn’t capture them
Your store’s Payment capture method in Shopify is set to capture automatically, so Shopify captured the payment first. The connector finds the existing capture and records it without charging again. To let the app control capture, set the method to Manually in Shopify under Settings > Payments. -
A capture is declined because the authorization expired
Shopify Payments authorizations expire after 7 days, and other providers can be different. Fulfill and capture orders within the authorization period. Review the order’s transactions in the Shopify admin for details. -
No payments are captured
Selling Shopify integration ID to capture payments for is empty or doesn’t match the Shopify integration that the orders came from. Enter the correct integration ID. Also check that Pipe17 support has turned on payment capture for your organization and your Shopify integration. The connector then picks up the payments that are pending capture on its next run. -
The connection fails with “Authorization timed out” or “Required Shopify connection not specified”
The Shopify authorization wasn’t completed, or it wasn’t completed within 15 minutes. Click Connect again and finish the authorization in Shopify. -
A payment has an exception that says “Shopify capture declined”
Shopify or the payment gateway refused the capture, and the payment is marked as failed. Review the order’s transactions in the Shopify admin to find out why, for example an expired authorization. -
A payment has an exception that says “Parent authorization not found”
The Shopify order has no successful authorization that matches the payment, so there’s nothing to capture. Check the order’s transactions in the Shopify admin. -
A payment has an exception that says “Capture still unresolved”
Shopify accepted the capture but hasn’t settled it after about 1 hour. Check the transaction in the Shopify admin. The connector keeps the payment pending capture and doesn’t capture it a second time.
Need Help?
If you need additional assistance:
- Use Ask Pippen, our AI agent, located at the top of the platform page.
- Submit a support request with as much relevant detail as possible. Learn how to submit a request.
We’re here to help you succeed with your operations.
Comments
0 comments