#paul-paymentlink-subscription
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- meshpaul-prices, 5 days ago, 29 messages
paul-paymentlink-subscription
@storm sable it should yes. You can try all of this in Test mode really easily to confirm the overally behaviour
@storm sable please reply here
Hmm let me verify.
So looking at the PaymentIntent you shared, you did use that flow
you did
I was trying yes.
So I guess with that said: what's your real question?
Because you created a $1178.10 USD PaymentIntent on a connected account acct_123. And you also said "please give me back $56.10 for my platform" as an ApplicationFee
then I went to see if I can do all this using payment link
NP
Okay so yeah you can create a PaymentLink and get a URL and then go through it in Test mode for example using one of our test cards https://stripe.com/docs/testing#cards
Okay can you share something like an exact object id for me to look at?
Yes
plink_1ObVVgBZuRENdfSAIKONT2lO
val params = PaymentLinkCreateParams.builder()
.addLineItem(
PaymentLinkCreateParams.LineItem.builder()
.setPrice("price_1ObUOWBZuRENdfSAJOzsePxi" //base portal
)
.setQuantity(1L)
.build()
)
.putMetadata("ew-customer-id","paul-some-id")
.build()
Okay so you created a PaymentLink. Did you then go through that PaymentLink's URL to pay?
Okay then you will see a Subscription in your Dashboard in Test mode here: https://dashboard.stripe.com/test/subscriptions
not sure I understand sorry
why would you use the CLI for PaymentLink, I must be missing something
view subsciptions sorry
stripe subscriptions list
but I needed to add a testmode flag
ahhhh gotcha
yeah the CLI is great but I recommend the Dashboard for quick inspection
Ok I agreed
thank you
So I have a question on the same
Here is a flow I want to use. Will this be possible
- Using a payment link create base subscription for a given Item
- Update clients subscription with more products later just using API is this possible
??? ⬆️
ah sorry I saw half the message and waited for a response, didn't think you'd edit
And yes that is totally fine and works fine
Right now you have that Subscription in your account that you found and you can use the Update Subscription API https://stripe.com/docs/api/subscriptions/update ot change its Price(s) and/or add more. See https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
Thank you