#porkier - address collection

1 messages ยท Page 1 of 1 (latest)

sturdy wasp
#

Currently no this is not supported. While the payment element does generally collect billing addresses when the payment method requires it, this is not something you can opt in to for card payments.

#

But we've heard this feedback and are looking to see if we can enable it in the future ๐Ÿ™‚

shut vale
#

Thanks for the reply! So I wouldn't be able to collect the users address separately (custom form) and save it within stripe?

sturdy wasp
#

You can do that, yes!

#

see the example snippet there:

stripe
  .confirmCardPayment('{PAYMENT_INTENT_CLIENT_SECRET}', {
    payment_method: {
      card: cardElement,
      billing_details: {
        name: 'Jenny Rosen', // this
      },
    },
  })
#

you can add an address hash there

shut vale
#

Oh that's good to know!

#

Thanks for your help!! I'm just figuring out options now, but I may have more questions in the future! I really appreciate your help!

sturdy wasp
#

My pleasure ๐Ÿ™‚