PayPal is a popular payment gateway that allows your customers to make a payment without providing credit card information.
How to integrate PayPal with Kartra
You will need a PayPal Business account to complete this guide. Visit https://www.paypal.com/ to create an account.
Tip: Keep both Kartra and PayPal open while you work through these steps. You will need to go back and forth between them to finish the setup.
Connect Kartra and PayPal
In Kartra:
- Go to Settings > Integrations
- Click + Integration in the top right
- In the Providers window, select PayPal and click Next
- In the new payment gateway window, click Connect PayPal. A new window opens on the PayPal website, where you can authorize the connection.
- Click Grant Permission to authorize the connection between Kartra and PayPal. All permissions are required to complete the integration.
- You will be redirected back to Kartra. When a connection has been authorized, the payment gateway configuration window displays a PDT token field. Go to PayPal to get this token.
Turn on payment data transfer in PayPal
The final steps to complete the integration are done in PayPal. In Website payment preferences, turn on Auto return for website payments and Payment data transfer.
In PayPal:
- Go to Account Settings and select Website payments in the left menu
- Click Update next to Website preferences
- Under “Auto return for website payments,” turn Auto return ON
- Enter the return URL: https://kartra.com
- Under “Payment data transfer,” turn Payment data transfer ON
- An Identity token appears when the selection is saved. Copy the whole token, taking care not to leave any characters off.
Go back to Kartra
Add the PayPal PDT token to Kartra
In Kartra:
- Go back to Integrations and the PayPal connection window
- Paste the Payment data transfer identity token in the PDT token field
- Click Create/Edit in the top right corner to Save the integration
Go back to PayPal
Turn on instant payment notifications (IPN) from PayPal
Instant payment notifications are needed for Kartra to be able to track refunds, recurring payments, and other notifications PayPal sends in the background.
In PayPal:
- Go to Account Settings and select Notifications in the left menu
- Click Update next to Instant payment notifications
- Click Choose IPN Settings
- On the next screen:
- Enter the notification URL: https://kartra.com
- Select the radio button “Receive IPN messages (Enabled)”
- Save the IPN settings
That’s it! Your PayPal payment integration is complete.