Using WP Fusion with ThriveCart you can create a success URL pointed at your site that will create a new WordPress user and log them in so they can access their purchased content.
First enable the setting for ThriveCart Auto Login from the Advanced settings tab in WP Fusion.
Then in ThriveCart on the Fulfillment tab for your product, choose Send them to a URL for the What should happen after purchase? setting.
An example URL will look like
There are a few parts to this
https://mysite.com: This is the URL to your website. It can be the home page or any other page on your site.
?wpf_action=thrivecart: This tells WP Fusion to receive the data from ThriveCart, create a new user, and log them in.
&access_key=: This is the access key from the bottom of the General settings tab in WP Fusion.
&apply_tags=: Here you can optionally specify tags to be applied for the new user, for example to unlock content or trigger an automated enrollment.
- You can use either tag IDs or tag names, but if you use tag names spaces must be replaced with
%20or else ThriveCart won’t recognize the URL. Multiple tags can be separated with commas.
How it works
When a customer checks out they’ll click the link to be taken to your site. When WP Fusion detects the ThriveCart link it will create a new user based on the details provided at checkout.
The new user will be added to your active CRM, and any tags you’ve specified will be applied.
The new user will automatically be logged in and able to access their purchased content.
If a user already exists with the same email then the new tags will be applied and the existing user will be logged in.
A random password will be generated for the new user.
If you’ve enabled the setting for Return Password from the WP Fusion settings then this password will be sent back to the specified custom field in your CRM.
You can then send the user a welcome email containing their password.
For the best deliverability it’s recommended to send the welcome email containing the new user’s password from your CRM. However if you would prefer WordPress to send the welcome email, you can append
&send_notification=true to your success URL.
WordPress will then send out the default welcome email inviting the new user to set their password.
The first step in troubleshooting the ThriveCart user creation is to enable the WP Fusion activity logs. When a customer lands on the success URL, the logs will show the data that’s received from ThriveCart.
You will see a message ThriveCart user creation triggered, followed by the data that was loaded from ThriveCart. The logs will also show the password that was generated, and any tags that were applied.
If you’re having trouble with ThriveCart success URLs, please contact our support.