You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would love to to create an invoice for one time checkout with stripe.
How do I create an invoice after charge?
Why the charge object does not have any line_items ?
I have package that has a quantity: 1 but has a property set to divided_by : 5. How could I reflect that in the Charge object?
I just started using Pay so... thank you for your understanding.
**Update here **
I got the invoice being created by simply adding a
invoice_creation: {
enabled: true
}
1 and 2 are fixed.
But 3rd remain as question:
I have is still the line_items although, they are populated! :) they miss the transform_quantity": {"divide_by":5,"round":"up"}, ?
Maybe I'm overcomplicating the things, but ... how can I add that?
Or maybe I should change the price model on stripe? I have a one time payment for a product, but also have a package. And this is reflected as ``transform_quantity": {"divide_by":5,"round":"up"}`.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I would love to to create an invoice for one time checkout with stripe.
charge
object does not have anyline_items
?quantity: 1
but has a property set todivided_by
: 5. How could I reflect that in the Charge object?I just started using
Pay
so... thank you for your understanding.**Update here **
I got the invoice being created by simply adding a
1 and 2 are fixed.
But 3rd remain as question:
I have is still the
line_items
although, they are populated! :) they miss thetransform_quantity": {"divide_by":5,"round":"up"},
?Maybe I'm overcomplicating the things, but ... how can I add that?
Or maybe I should change the price model on stripe? I have a one time payment for a product, but also have a package. And this is reflected as ``transform_quantity": {"divide_by":5,"round":"up"}`.
Beta Was this translation helpful? Give feedback.
All reactions