#Hendie
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Sounds like you can use the PaymentIntents API directly in that case, no?
well, sometimes we want to create a token, not do a transaction, and follow up with an attach-to-customer.
then we don't really need the PI
in the old stripe.js, you could just tokenize a card, just taht
we need that same functionality, but with with Elements or Checkout
for example, can you create a SetupIntent WITHOUT a customer?
like here: https://stripe.com/docs/payments/save-and-reuse?platform=web#web-create-intent can we leave out CUSTOMER_ID, and still get a SetupIntent?
No that's not really possible unfortunately ๐ฆ
is there ANY way of using your secure UIs and just get a token out?
Just to make sure I'm on the same page, when you say "token" you mean a payment method object (pm_xxx) correct?
correct
Gotcha. You can use Stripe.js along with cardElement to tokenize the card and generate a PaymentMethod
https://stripe.com/docs/js/payment_methods/create_payment_method
There's also a beta feature in the works where you can do this with PaymentElement, but you'll need to write into our support for that
https://stripe.com/docs/payments/defer-intent-creation?type=payment#create-pm
thanks, that helps
NP! ๐ Sorry for the delay
do you know how long before that beta feature goes live? typically
๐ Taking over for my teammate who needed to step away
that's hard to say, as there's no one typical timeframe for features moving from beta to general availability
can one use a beta feature in prodution?
yep, you can use a beta feature in Stripe live mode
cool - do we need to be "enabled" to use it?
Enabled to access this beta? https://stripe.com/docs/payments/defer-intent-creation
If so, yes! I recommend using the link at the top of the page to contact our support team about this beta directly
There shouldn't be a separate process to allow you to use beta features in live mode
Your colleague said: "There's also a beta feature in the works where you can do this with PaymentElement, but you'll need to write into our support for that"
so does that mean I have to request support to "add" the feature to our account?
Yep, that's right. I can't add you to the beta myself. There's a "contact us" link at the top of this page that you should use: https://stripe.com/docs/payments/defer-intent-creation