Integrate Payonix with Podia
How to accept payments in crypto on Podia
At the end of this guide, you'll be able to accept payments in crypto on your Podia page for your course.
As we don't have a partnership with Podia (yet), you'll have to configure the integration with Zapier.
Zapier allows to easily automate tasks and connect services.
First, you need to create a Zapier account and click on "+ Create Zap"
Next, a page will appear where you need to configure the trigger of the Zapier automation.
On that screen, you have to choose "Webhook by Zapier". You can either search for it at the top or click directly on it if it appears like this:
Now, you need to click on "Catch Hook" and then click on "Continue":
Then, it will ask you to pick off a child key. You can skip that and just click on "Continue".
At that point, Zapier will give you a URL that you have to copy. Click on "Test Trigger" so Zapier starts listening for webhooks on that URL.
For now, just copy the URL, we'll use it later.
Now that the trigger event is configured, let's configure the action which is to enroll the client who paid in your course.
Go to Payonix.io and create an account if you haven't already created one.
Next, go to the Merchant section and create a new Payment form.
If you already have other payment forms, the UI will be different and the button to create a new payment form will be at the top right corner below the dropdown.
On the payment form creation page, you can choose the name, reference and accepted tokens that you want.
You have to select that you want to collect the user's email otherwise the automation won't work!
Once you filled the form, press the button to create it.
You are now on the page displaying information about your payment form (your sales, customers and all the transactions).
On this page, you can see 2 options to integrate crypto payments to your website. Either use the API or payment links.
In our case, we are going to use payment links so click on the button "Use payment links"
Next, you should see that the list of payment links is empty. To create one, click on "Create a new payment link".
First, select the payment form you just created in the first field of the form.
Next, you have to enter the link name. You can choose the name you want here, it is just there for you to distinguish the links with each other.
In the "Cost in USD" field, you have to enter the amount in US Dollars that you want your customers to pay for your course.
In the payment page, your customers will choose a token to pay with. The cost in USD that you set will determine the amount that customers have to pay in the token that they selected.
It is very important that you put the correct price here.
Below the cost in USD is where you enter your course name. It will be displayed in the payment page so it has to correspond with the name of the course that your customers are buying.
If they are buying multiple courses, enter the name of your courses separated by a comma. For example: Course1,Course2,Course3. Note that there is no space after or before the commas.
For the 2 fields below, the first one is to enter a URL to redirect your customers to when they pay successfully and the second one is to redirect them when they cancel the payment.
Those fields are optional. You can paste the URL of the page of your course in the second field and leave the first one empty (or paste the same page as the one below).
The next step is very important.
On the field "Webhook URL" you have to paste the URL that Zapier gave you previously. Without that, it won't work.
Make sure everything is correct and click on "Create link" when you're done.
Now, you should be redirected to the list of your links and you should see the link you just created.
Click on the link you just created and copy the URL displayed on the page. This is where your clients will pay.
Now, to make the integration work, you'll have to make a payment to test. It is a mandatory step. We're working on making that process easier.
If you don't want to pay for the full price of your course while testing, you can set the cost in USD to 1 so you'll just have to pay 1 dollar in crypto for your course.
Don't worry, you can withdraw that dollar immediately after on the home page.
To make your test payment, paste the link in a browser and pay on the website. It is important that you make sure Zapier is listening before you do that. It should be if you clicked on "Test trigger" like explained above.
Zapier should look like this if it's listening:
Now, you can go to your payment link and pay.
Once you paid, if you've done everything correctly, you should see Zapier display a request like this (mine is called "request C" but yours should be request A, the name doesn't matter):
Click on "Continue" if everything is correct.
Now, let's configure the action: enrolling the customer to your course.
Click on the action and search for "Podia" in the apps.
Next, the event that you want to choose is "Enroll a customer". This event will enroll the customer in the course that you want.
Press on "Continue" once you selected that event.
The next step is to connect your Podia account to Zapier.
To do that, click on the accounts dropdown and then on "+ Connect a new account".
Follow the steps on Podia's website to log in and connect your account.
Once it's done, select your Podia account in the dropdown in Zapier and press "Continue".
Now, you can configure the action. You have to select the course that you want to enroll your customers in. You can choose from all the courses you created in Podia.
Another very important step:
The email field is required in your action's configuration. This is the customer's email, they entered it to when they paid.
This is why it is very important that you choose to collect emails in your payment form. Without that, it won't work.
We have to link the email that the customer entered in the payment page to the email field in Podia.
To do that, click on that field and you'll see a dropdown menu displaying all the fields that Zapier received after your test payment.
Now that it's done, you have to set "Send registration email" to "Yes" so your customers receive an email after their payment containing all the information they need and a link to access your course.
Click on "Continue" and you're done 🎉
Now you can test your action by clicking on "Test action" to see if you receive the email correctly (it will fail if you are on the free Podia plan).
If you don't want to test "Skip test".
Now, click "Publish" and your automation is now live!
If you changed the cost of the payment to make the test payment, don't forget to set the cost back to what you want. To do that, go to the merchant section in Payonix, click on "Use payment links" and select your link in the list. You can then edit the cost of the payment and click on the button to save.
If you're having troubles with this, contact the support on Payonix by clicking on the bottom right corner in any page or send an email to firstname.lastname@example.org.