• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

  • Please note that the team will not be available on 7th May 2024, due to a public holiday.

    During this period, support assistance may experience some delays.

ThriveCart cancellation stuck waiting for response

Keith Dream

Member
Hello. I have good workflow that connects ThriveCart to Wordpress when someone purchases a subscription.
They are given a custom user role, depending on the payment plan they purchased.

Now I need to create a new Workflow that will remove the custom role if the customer cancels the membership through ThriveCart.

Here is a Loom video of my workflows and what is happening:

I did to a webhook test here and see the cancellation:

Thank you!
Keith
 

Supreme

Well-known member
Staff member
Hey @Keith Dream

We looked over your concern and it seems like you might need to use the "Subscription Cancelled" Trigger Event of Thrivecart.

Please try this event to capture the canceled memberships of yours. Moreover, let us know if that works for you.

Thanks!

2021-09-06_12h52_53.png
 

Keith Dream

Member
Oh, so simple! I don't know how I missed it, but that worked! Thank you.

My next step is to get change that user's role in Wordpress so we can revoke their access at the end of their subscription.

I tried an action of "Update User", but it doesn't give me the chance to use the email address from ThriveCart. I have to use a current Wordpress user. Of course we don't know the user's name until they cancel.
Here's a Loom of my setup:

Thank you!
 

Keith Dream

Member
My Ideal end-goal is:

Once they cancel their subscription in ThriveCart, we remove their Wordpress user account at the end of their subscription period. ThriveCart does send the subscription end date, but I don't know if Pabbly can delay an action, can it? Any ideas for that?

As a workaround, this is my plan:
I have Uncanny Automator Pro installed on the site, which does have delays, so my workaround solution is:
Pabbly: ADD a user role of "Cancelled" to the user. They keep their current role, which gives them access to site content.
Automator: Detects that the role of "Cancel" was added and sets a delay to remove their account on that date.

Is there a way to pass the cancellation date we got from ThriveCart and set it somewhere in the user profile?
Subscription Billing Period End:
billing_period_end: 1633505332

Subscription Billing Period End Iso8601
billing_period_end_iso8601: 2021-10-06T07:28:52+00:00

Thanks again,
Keith
 

Keith Dream

Member
Oh, so simple! I don't know how I missed it, but that worked! Thank you.

My next step is to get change that user's role in Wordpress so we can revoke their access at the end of their subscription.

I tried an action of "Update User", but it doesn't give me the chance to use the email address from ThriveCart. I have to use a current Wordpress user. Of course we don't know the user's name until they cancel.
Here's a Loom of my setup:

Thank you!
Ok, simple mistake again. I found out how to map the email address. :)

I was able to set the email address and pass the subscription end date in the "Description" field, which I believe is the user's profile. So it isn't ideal, but might work for starters.

I would love to hear any ideas and I'm loving Pabbly!

Here's my flow:
 

Supreme

Well-known member
Staff member
Hey @Keith Dream

We looked into your workflow and you might need to map the User Id of that particular user with the help of the Search Contact User. And as of now, you have to pass the end of the subscription in the description field.


2021-09-06_16h36_47.png
 

Keith Dream

Member
Thanks for the follow up. Do I have to do the User Search action first. It seemed like I could skip that step and use the email address in the "Update a User" action.

And thanks for the advice on the subscription end date. It will be nice to have that option in the future, but at least I have a way to do it now.
 

Supreme

Well-known member
Staff member
Hey @Keith Dream

When you update the user in WordPress you might need to pass the user Id in the Update User action event. Further, while testing your use case on your account it seems like you might have inputted wring credentials or maybe you passed the domain URL with a trailing slash.

Also, could you please confirm that have you installed the Basic-Auth-master.zip plugin in your WordPress account?

If not, kindly check this out - https://forum.pabbly.com/threads/wo...-are-not-allowed-to-create-new-users-401.813/

2021-09-07_10h41_16.png
 
Top