Thatās great news!
Great! Is converting the Make steps to Zapier pretty simple? Or does Make do unique things that Zapier cannot? I only ask because I already have a yearly sub with Zapier.
Make has easy-to-use routers, iterators, JSON parsers and set/get variable tools. Iām sure there are Zapier versions of those things.
I feel the router/branching of logics is much easier to do with Make, though.
Undoubtedly!
Happened just yesterday actually. Iāve tried credit cards of different nationalities (american & mexican) without luck, the american card was actually blocked because of this. I thought it could be an issue of the URL in the app Iām working on but I didnāt have any luck on the direct access from the payhere link. Iām quite stumped as to what it could be.
Able to accomplish this on the free version of Make?
Yes.
Contact Payhere support. Tell them I sent you. They are super responsive.
They only limit the amount of executions (1000/month is still great imo), the number of active scenarios and interval between scheduled scenario executions on the free plan. You can deffo use the free plan to try out Make.
Hey Robert!
I subscribed! Thank you for the great tutorial and I believe I got it all working! Question, when someone makes a payment, they end up at a Thank you page with a āDoneā button. If I donāt change this, then it goes to my Pageās URL, but because Pages cant be embedded, I get that frowning face page. What are your suggestions so when people click done, it just closes the window? Can we just hide the Done button so people just close the window?
What I do is make the web embed component visible only if they donāt have a subscription. Otherwise they get a hint text thanking them for their purchase with a button that says continue which close is the overlay. Iām away from my computer right now, but Iāll create a Loom on the ins and outs of it all.
Either that, or you can go super simple and point your success URL to some embeddable public page like a Google Doc that says āthank you for your purchase. You can now close the screen.ā
Here it is in action:
Thanks!
Hey @Robert_Petitto,
I previously implemented your Payhere Flow and got it all working. I just updated to allow a 30 day free trial. However, because there has been no payment yet, none of the PlanLevel and payment info passes through.
Iām guessing I could create a Free Trial Start Column and log the date they sign up. Then add another column with +30 for Free Trial End Column. However, I use the PlanLevel to adjust their usage. Do you know if there is a way to pull all this info utilizing the Free Trial?
My Link Construct with the custom_field_plan_name pointing to my PlanLevelās
This is my Make path. Appears it went only to the first part of adding a Row:
Thatās a great question. Let me play around with it a bit later this evening and get back to you.
So, typically, when a new subscription is created in Payhere, two webhooks are called. One for the payment and one for the subscription. When you attach free trial to a payment link, the payment event doesnāt get called, so it never runs through to the second path.
If youāre certain EVERY payment link you create is going to have a free trial attached to it, then you could just modify the first Add Row HTTP module to include the additional subscription information. If you plan on having some payment links have trials and some without, then the most straightforward solution would be to add another HTTP module to the end of the first path that performs a āSet columnā call via Glideās API. Between the add to Data Store and this module, add a filter to check to see if the member is subscribing to a free trial (āsubscription statusā contains ātrialā).
Does this make sense or would you like me to create a video? Happy to do so!
Thanks!
I plan on having a free trial on every payment link, so Iāll try modifying the first Add Row Http module and let you know if I get stuck.
I might need a video lol. I added a customer created date to my Trial Start Date, that works. However, I canāt seem to locate my Plan Level from the options as it only gives me plan_level vs the actual plan name.
I am assuming āplan.custom_fields: labelā is incorrect. However under any of my custom_fields, I do not see plan_level. This is my hidden field in PayHere
Hm. Yaā¦there should be a field under āsubscriptions ā custom fields ā plan_levelā.
Alright got it to work! I had to create a brand new Payment Link and then it found the custom field.
Do you know if after the trial period ends, will Payhere automatically send another Webhook that will update the payment info, subscriber info and payment dates?