#xarm

1 messages ยท Page 1 of 1 (latest)

violet ibexBOT
valid estuary
#

Hi there. Yeah you could do this

#

You would just have to map the stripe customer object and subscription -> org on your side

#

rather than to the user

prime owl
#

thanks I'll look into

#

would this still be a no-code solution though?

valid estuary
#

From the stripe side of things yeah. You'd have to figure out how to show the payment link and customer portal link to everyone in the org on your site

#

I'd assume you'd need to code that part though

prime owl
#

yeah I guess I mean excluding adding the link on our side.

To prevent other users, when clicking the payment link, to be shown the payment option rather than to be told they are already subscribed, to avoid double payment, do I use a URL parameter with the org?

Thanks for your help so far.

nocturne cosmos
#

๐Ÿ‘‹ stepping in as codename_duchess needed to step away

#

If you want to accomplish the above you are going to need an authentication step

#

So when the user visits your web app they authenticate in order for you to map them to the Customer

#

Then you know whether to show them a link to pay or whether to have them manage a Subscription that has already been created

#

As noted, this will take coding to accomplish

#

You can't really do what you want to do without any code

prime owl
#

ah ok thanks for the information

#

that was my main question I guess is if I can manage this somehow without code, but I guess not. If the payment link required signing into stripe like the customer portal, I guess this might have been a no code option

#

but I see that's not the case at the moment

#

thanks again

nocturne cosmos
#

Yeah payment links don't authenticate customers

#

They are meant for a one-to-many model

#

Let me know if I can help any further

prime owl
#

thanks ๐Ÿ™

#

ah another question sorry

#

if the payment doesn't authenticate, how does the customer portal know what user it's showing it's details for? Is this when they provide an email in the initial payment step?

nocturne cosmos
#

We do have a no-code Customer Portal option

#

Where you can generate a portal link and your customer uses their Email associated with their Customer ID.

prime owl
#

thanks sorry I was aware of the portal, I was just wondering, how does Stripe map payments made to the user in the customer portal, is that purely based on the email they input in the checkout page (the no-code payment link)?

nocturne cosmos
#

Yep the portal session is associated with the Customer object, which is generated due to the email input via the Checkout Session when using a Payment Link

prime owl
#

ok thanks

nocturne cosmos
#

Best thing to do is to test it out!

#

That will give you the best sense of how it works

prime owl
#

yep will do, thanks again