#king-carol_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1351529389539594321
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- king-carol_api, 17 minutes ago, 19 messages
This is the other payment id: pi_3R3uJ1HEYaQTKFK51iQDC18h
Hi ๐ sorry, I'm not sure I understand what your question is, can you try clarifying that for me?
The Payment Intent you shared was created by a request to our /v1/payment_intents endpoint, so it is expected that there is no associated Invoice object with that Payment Intent.
You are referring to the transaction from the payment id above, right?
I am following up on this ticket: https://discord.com/channels/841573134531821608/1351515522092765278
I have two websites and i wanted to check out if the issue is the same on both websites
The ID you shared is the ID of a Payment Intent object, yes:
https://docs.stripe.com/api/payment_intents/object?lang=php#payment_intent_object-id
Alright, understood
Can you summarize the other thread for me? It will likely be faster than me reviewing the entire thing and pull out the relevant context.
So the issue is solely at the code implemented on the website, not at my stripe account level, right?
What are you hoping will happen here? And to make sure we're aligned, are you specifically talking about needing full invoices, or are you referring to receipts?
Stripe has informed me that the current integration uses the Payment Intents API directly, which does not support creating payment invoices. To generate invoices, the integration needs to switch to using either Checkout or the Invoicing APIs. This means that our current code/plugin would need to be updated accordingly to enable invoice creation.
Full invoices, but i am also interested if i can add the VAT on the receipt
As far as I'm aware, no, receipts do not show tax breakdowns, because Payment Intents don't support letting you represent the tax amount as a separate value from the amount of the payment. The only way I'm aware of where you could adjust the receipt to show that, is by adjusting the description of the Payment Intent as we discuss here:
https://docs.stripe.com/payments/advanced/receipts#automatically-send-receipts
If you are trying to create full Invoices, then yes, you need to adjust your flow so that you create an Invoice object (which will then automatically create the necessary Payment Intent object when it's finalized).
https://docs.stripe.com/invoicing/integration
or
Checkout Sessions can also be used to create Invoices from a payment:
https://docs.stripe.com/payments/checkout/receipts?payment-ui=stripe-hosted#paid-invoices-hosted
Alright thank you