Connect to Printful using Pabbly Connect
What is Printful?
Printful (https://www.printful.com/) is an on-demand printing and fulfillment company that enables you to sell customized products such as clothing, accessories, decor, stationery, and more. We don't have a direct integration with Printful right now, but if you want to use Payhip as your storefront for selling these items, you can! You’re able to integrate with Printful using Pabbly Connect.
What is Pabbly Connect?
Pabbly Connect is a platform that allows you to connect two apps that don’t currently have a direct integration, without using code (https://www.pabbly.com/connect/). It’s available with lifetime access for a one-time fee, plus you get 100 free tasks to try it out first.
How to connect Payhip to Printful
Please read on for full instructions on how to connect Payhip to Printful using Pabbly Connect. Although it’s quite a fiddly process, in the long run it could save you hours of manually processing orders in Printful.
Keep in mind that you will need to repeat this process for each product that you want to sell, but you can duplicate workflows in Pabbly to make this quicker. To do that, head to your Dashboard (https://connect.pabbly.com/dashboard), hover over the workflow that you want to copy, click the three dots that appear, and select Clone.
You can then just rename and edit the workflow to update the filter, plus the product name and variant fields for the action, as necessary.
If you’ll be selling a lot of products on Printful (e.g. more than 10), you could also look into using the Router app on Pabbly to run different actions based on different conditions. Just let us know if you’d like some instructions for that and we’d be happy to put some together!
Step 1. Set up your product in Payhip
The first step is to set up the products that you want to sell on Printful as physical products on Payhip. We have some instructions for that here: https://help.payhip.com/article/73-add-physical-products
You’ll want to add variations for color and size if you’ll be selling them. See the section “Selling product variations” in the article mentioned above.
For your pricing, make sure that the price you set on Payhip covers the price of the product on Printful. See their catalog for details: https://www.printful.com/dashboard/custom-products
Step 2. Set up your shipping in Payhip
You’ll also want to set up your shipping rates on Payhip to cover the shipping costs that you’ll be charged by Printful.
If you don’t set up a shipping rate for a country, then customers from that country will not be able to order from you.
Please see here for some instructions: https://help.payhip.com/article/301-shipping
Step 3. Upload your image to Payhip
You’ll need to have the image that you want to use for your custom designs on Printful available at an accessible URL. Please see here for a quick video showing how to host these images on Payhip and get the right links: https://www.loom.com/share/f18fddc0267446b0a34d2d9d13e5edd0
Step 4. Set up your trigger in Pabbly
1. Sign into Pabbly and click Access Now under Pabbly Connect.
2. Click Create Workflow.
3. Give your workflow a name and click Create.
4. Search for “Payhip” as the trigger app and choose the option that appears.
5. For the trigger event, click the dropdown arrow and choose Successful Transaction.
6. This will generate a webhook URL for you. Click Copy.
7. In a separate tab, log into your Payhip account and go to Account > Settings > Developer (https://payhip.com/settings/developer). Then paste the webhook URL from Pabbly into the Webhook Endpoint field and click Save Settings.
8. Go back to Pabbly and click Capture Webhook Response.
9. Complete a test transaction on your Payhip store. To do this, you can create a 100% off coupon and run through your checkout flow. See Testing Checkout Flow - Help Center
10. Return to Pabbly, wait for the transaction to register, and you should see something like the below. This means that you’ve successfully linked Pabbly to Payhip - good job!
Step 5. Add a filter in Pabbly
Next you’ll want to add a filter to your workflow so that it only runs when an order is made for a specific color and size combination. To do that:
- Click the plus icon between the trigger and the action in Pabbly.
2. Choose the Filter option.
3. Click the dropdown for Action Event and then click Filter Values.
4. Click Connect.
5. Click the dropdown for Select Label, then 1. Payhip: Successful Transaction. Search for “variant name” and choose the option that appears. Do the same for the Value field. You should end up with something like this:
6. Click Save & Send Test Request. You should see a response like the below:
Step 6. Set up your action in Pabbly
- Search for “Printful” as the action app and click the option that appears. Then choose Create Order for the action event and click Connect.
2. If you haven’t already connected Printful, choose Add New Connection, give the connection and name, and click Connect with Printful. Otherwise, select your existing connection.
3 Click Authorize to give Pabbly access to your Printful account. If you’re not already logged in, you’ll be prompted to sign into Printful.
4. Now you’ll want to fill out the fields so that the information from the order in Payhip is correctly mapped to a new order in Printful. Below we’ve included screenshots of the kind of thing you’re looking for, along with explanations.
Confirm - If you want orders to be automatically confirmed in Printful, set this to “No”. However, while you’re testing, we would recommend setting this to “Yes” so that test orders are not charged to your Printful account automatically.
Product Name - Search this field for the name of the product on Printful (see below).
Variant - Search this field for the variant of the product, including the color and size as set up in your filter earlier (see below). You might need to click the refresh icon to reload this field after picking the product in order to show the variants.
File URL - The URL for the image to be used on your Printful product, as uploaded in step 3 above.
The rest of the fields can be mapped from the trigger order made on Payhip. The quickest way to do this is to click the field, search for the data names listed in the table below, and then click on the option that appears; e.g.
Field name in Printful | Data name from Payhip |
Quantity |
|
Full Name |
|
|
|
Address Line 1 |
|
Address Line 2 |
|
City |
|
State Code |
|
Country Code |
|
ZIP/Postal Code |
|
Notes:
- In the data name, “X” will be the specific data from your test order on Payhip (this might be blank for the fields that aren’t required and that’s OK).
- Be sure to use the country and state code options for these fields and not the name; e.g. “1. Shipping Address Array Country Code: CA” and not “1. Shipping Address Array Country Name: Canada”.
Here’s what you’re looking for:
Once you’re done, click Save & Send Test Request. If you set the Confirm field to “Yes” you should see something like the below with the status as “pending”:
If all is set up correctly, you’ll also receive a notification from Printful in your email/dashboard.
Phew, that’s it - nice work!
Troubleshooting
If you’re having issues with this integration, it’s always worth running through the instructions again just to make sure you have everything set up correctly. Below we’ve included some common errors and how to solve them.
Errors from Printful
“Order [ORDER NUMBER] contains graphics, which could not be processed” - The URL added to the File URL field is not valid and/or publicly accessible. Please revisit step 3 above.
“Oops, transaction for order [ORDER NUMBER] failed” - This often comes up when you haven’t yet added your billing information to Printful so that they can charge you for the order. You can head to Billing > Billing Methods on Printful to fix this (https://www.printful.com/dashboard/billing/billing-methods).