We want to switch from using Stripe directly to using Hubspot Payments as part of our user signup flow, and I'm stuck on how to get confirmation of payment success to our backend.
If successful payments appear like normal transactions in Stripe's system, we can just have Stripe notify our backend directly via webhook. This would be preferable, but test payments don't appear to generate any activity in Stripe, and we can't build critical infrastructure around an untestable system!
The next best case would be for Hubspot to support sending notification of payment via webhook. Does that feature exist? I can't find documentation for it, but it seems like an obvious feature to have on the roadmap somewhere.
If not, then maybe we can set up a workflow that will do the trick? Any suggestions on where to get started? I don't see any workflow triggers that obviously correspond to payment success, but I'm also not very familiar with Hubspot (yet!).
Any suggestions are appreciated. If it's going to be easier to handle payments directly with Stripe and only pass the CRM-relevant data to Hubspot upon new user provisioning, we're open to that option. 🙂
@EJohnston no estimated timeline for a standard webhook for payments right now, though if that becomes a priority for us I can circle back here. Maybe it would be possible to somehow build in logic that does something like "when there is property value x in HubSpot, do y in the other system" using our APIs?
Hi @EJohnston I hope you've been well! I wanted to follow up here around your API exploration that you mentioned.... how'd that go? Is there anything I can do to help?
Sure thing @kvlschaefer, thanks for the tag here and I hope you're doing well @EJohnston !
As mentioned above, you can indeed trigger webhooks with workflows within HubSpot. HubSpot Payments is bringing commerce data into the CRM by essentially simply creating objects within our system. The object that represents a given transaction is the payment object, and with an object comes workflows. Long way of saying that you can indeed create payment-based workflows (enrollment trigger would simply be "payment status is succeeded" and then trigger that webhook to do whatever you'd like
This is currently being rolled out to everyone, so if you go the HubSpot Payments route and don't see this as an option, feel free to reach out to me directly with your Hub ID and we'll make sure you're all set
Keep the HubSpot Payments questions coming, happy to help however I can!
Maybe the solution you outline above is simple and I'm missing it. How do I trigger a workflow based on successful payment? I looked at all the conditions under contact, company, susbcription, and payment and cannot find a straight forward way to add that trigger. So i need to use a payment form is the only way to do this?
Also, Can I white label the payment link to my own domain? It doesnt look trust worthy when my clients go to pay a heft amount and the URL says Hubspot instead of my company domain.
Hi @SLester I hope you had a nice weekend! So to fire a workflow based off of a successful payment, you can create a payment-based workflow with a "status" of "succeeded." Check out the different payment and subcsription properties you can access right here.
In order to use these commerce objects (and therefore the workflows that comes with them) you will indeed want to use HubSpot payments for now.
When it comes to whitelabeling your domain, you can indeed host invoices (a new feature we're rolling out that we'd happily ungate you for) and quotes on your own domain. It sounds like you want to host the checkout page itself on your domain though, is that correct? Assuming so, I'll be sure to pass along this feedback as this isn't something we have right now, though of course the more we hear about something, the more likely we are to build it
Thank you for that and I would love to be part of your whitelabelling effort.
Lastly, I wanted to limit the trigger to a specifc payment link where I see the internal ID in the URL as 8926831. Is this then the proper setup for this workflow trigger?
Another great question! I'd recommend using the "payment source name" on the payment object specifically which will stamp with the name of the payment link (more info here)
Thanks, that sounds like a workable solution for companies with the Operations Professional plan. Unfortunately, it looks like triggering a custom webhook from a workflow is not available with my company's current subscriptions, and I don't think we can justify $725/mo to upgrade at this stage.
Do you have any other suggestions? Or an estimated timeline for a standard webhook for payments?
@EJohnston no estimated timeline for a standard webhook for payments right now, though if that becomes a priority for us I can circle back here. Maybe it would be possible to somehow build in logic that does something like "when there is property value x in HubSpot, do y in the other system" using our APIs?