#meisei81

1 messages · Page 1 of 1 (latest)

main islandBOT
mortal coyote
#

Let's do it! How can I help?

terse isle
#

this is openai subscription page

#

I found that the payment mehtod and billing address are in the same page

#

How could we do like it?

mortal coyote
terse isle
#

Does stripe support to collect payment method and billing address in one page?

#

We don't use subscription feature

mortal coyote
#

Which is what you've highlighted in the screenshot. Works for one-time payments, too

terse isle
#

In which stripe page could find the integration demo?

mortal coyote
#

A demo for what?

terse isle
#

for collecting the payment method and billing adress

mortal coyote
#

I don't think we have a specific demo for that. Did you try the parameter I shared?

terse isle
#

I think the page in the screenshot I provided is the stripe's page

mortal coyote
#

It is yes, via Checkout. Which you use by creating a session

#

That's the API docs I shared

terse isle
#

So there's a Checkout demo page and we could follow the steps on it, right?

mortal coyote
#

But I don't think it supports that specific parameter

terse isle
#

We want to find an integration guide doc which contains how to collect payment method and billing address both

mortal coyote
#

And then add the billing_address_collection parameter I linked earlier then you create the session

terse isle
#

by the way, does it support to provide the tax number?

mortal coyote
#

All of this is in the documentation, I'd recommend reading through that and let me know if you have any specific Qs

terse isle
#

our client is a company

#

ok

terse isle
#

Hi, I got this error when tried to call POST /checkout/sessions api

#

{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such price: 'price_1Lay1ZCsiaKaCQKSUocFbX2v'",
"param": "line_items[0][price]",
"request_log_url": "https://dashboard.stripe.com/acct_1LLgFF2QYrCdj1c0/test/logs/req_DgqbvKQp42b515?t=1692176233",
"type": "invalid_request_error"
}
}

Learn more about error codes and how to resolve them.

mortal coyote
#

If you're creating sessions on behalf of connected accounts, like above, then all objects (including price_xxx IDs) must exist on the connected accounts