#venkateshjsoft

1 messages · Page 1 of 1 (latest)

rigid cloudBOT
runic nexus
#

Hi there, how can I help?

solemn compass
#

Hi

#

I would like to generate payment link so I can attach this link to the email when we send email to our users. This way the user can pay directly to Stripe instead of logging in to our application

#

is there a solutioin for this

#

Note: we are not using Stripe billing/Subscription

runic nexus
solemn compass
#

but we are not using stripe subscriptions or billing

#

do you think stil I can use this?

#

as per the steps to create payment link. i should create a product, pricing etc

#

also I dont understand how this link is associated to the customer Im intent to charge

runic nexus
#

I don't think you need to activate Stripe subscriptions or billing in order to use Payment Link

#

Were you asked to activate Stripe subscriptions or billing?

solemn compass
#

when I checked api, its asking to provide product id and price id

#

what I want is, I want to generate payment link for a customer with some price and sent to the customer

#

when they click and pay we receive amount

runic nexus
#

Yes you need to provide the product iD and price ID when creating a payment link through API. Perhpas you want to set the price to $1 and enable adjustable_quantity (https://stripe.com/docs/api/payment_links/payment_links/create?lang=node#create_payment_link-line_items-adjustable_quantity) to allow your customer to set the quantity by themselve?

solemn compass
#

product id is something I can generate on the fly?

#

product id and price id?

#

or I need to define them before

runic nexus
#

You need to create them upfront

solemn compass
#

if I have to create a product then i should have billing system enabled or subscription right

#

correct me if I my understand

#

if I create a product/price via api and then immediately call the payment link, will it work

#

can I use the same product id for the other customer

runic nexus
#

No I don't think so, have you tried?

solemn compass
#

not yet

#

let me try now

#

can you plz confirm how can I attach this payment link with the customer id

runic nexus
solemn compass
#

actually we want to give this link to our customer who couldnt pay our renewal fee

#

we have our own subscription model, we are using Stripe as a Payment provider only

#

we will share this payment link to our customer via email to pay the renewal fee thats it

#

when they pay, we will extend our service

runic nexus
#

Hmm, but just now you said you are NOT using Stripe billing, how do you implement the renewal?

solemn compass
#

we have our own renewal process

#

we have a crone job which check the renewal date and collect the renewal fee from our customer

#

during this process, if customer bank account doenst have enough balance or bank account is expired

#

we will send email with payment link option to retry the payment

runic nexus
#

Ok. I'd highly recommend you to consider using Stripe billings, you can save lots of time and can focus on more on your business.

solemn compass
#

we dont have any immediate plan to use stripe billing at the moment

#

lets go back to the orignal issue

#

is it possible to create payment link and attach to the customer

#

we have customer id in our system already

runic nexus
#

No

solemn compass
#

then how would I measure if the customer paid using the payment link

runic nexus
solemn compass
#

I see in the background new payment intent and charge is created

#

when customer pay using the link

#

is there way I can attach the customer id with the payment intent

#

if customer pay using the link, and if customer payment is not linked, then it will be difficult for us to know whether this paritcular custome is paid or not

runic nexus
#

Yes you can do that. You can listen to payment_intent.succeeded event and set a customer ID to the payment intent.

solemn compass
#

you mean update the payment intent?

runic nexus
#

Yes

solemn compass
#

how would i know if this particular payment intent is genereated due to the payment link?

#

is there are link ?

runic nexus
#