#amoomoo

1 messages · Page 1 of 1 (latest)

light atlasBOT
#

Hello amoomoo, 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.
amoomoo, 4 days ago, 3 messages
amoomoo, 5 days ago, 11 messages

slender anchor
#

Hello

#

When you say "negative invoice method" do you mean you want to create Invoice Items with a negative amount?

plain drum
#

yeah, or like a subscription with a negative starting balance or smth

#

to give the user a discount

#

point being, I prefer not to use the coupon strategy in the docs

slender anchor
#

Both of those would reduce the cost of the next Invoice

plain drum
#

Any way to do this without an invoice, and just through the Subscription instead?

slender anchor
#

No you would have to apply a coupon to the Subscription

plain drum
#

i see, thanks!

#

I have a follow-up question, if you're still around.

I want to get a payment intent from an invoice, how do I go about that?

slender anchor
plain drum
#

i have a bunch of custom paymentIntent params set right now, how do I set those fields for the invoice when creating the invoice?

slender anchor
#

I'm not sure exactly what you mean by that.

#

Can you explain more what you are trying to do?

plain drum
#

for example, I have this payment intent right now, and I have a lot of metadata I'm passing into it.

If i get my paymentIntent from the invoice instead, how do I set that metadata?

#

or the "confirm" fields, and etc

slender anchor
#

You would have to update the PaymentIntent itself if you want to set metadata on it directly. You can't do it via the Invoice.

plain drum
#

so, get the invoice, grab the payment intent of the invoice, edit it, then return the payment intent?

#

Is that what you mean