#mitsu_api

1 messages · Page 1 of 1 (latest)

final nimbusBOT
#

👋 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/1297831354804998177

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

steel cloud
#

May I ask if you're building a new Stripe integration?

#

I don't think there's an expiry date for Tokens.

desert mica
#

credit card input form is custom form so stripe element can not be used
=> I am using createTokens api to validate credit card
so I want to ask how long does the token expire, because I can not find the function to delete token from createTokens api

steel cloud
#

Is your app PCI-compliant?

desert mica
#

i did some php projects, and called api
createTokens , create paymentmethod
so i think it's ok

steel cloud
#

Your app needs to be officially certified to be PCI-compliant. You can read more in the article I shared.

#

Is there a reason you don't want to use Payment Element? It is much easier than trying to get your app PCI-compliant if you just want to accept payments.

desert mica
#

My form is a custom form like this, how do I use stripe element?

steel cloud
steel cloud
final nimbusBOT
quasi shadow
#

👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

desert mica
#

$stripe->tokens->create([
'card' => [
'number' => '4242424242424242',
'exp_month' => '5',
'exp_year' => '2026',
'cvc' => '314',
],
]);

#

id: tok_1N3T00LkdIwHu7ixt44h1F8k

#

How can I delete this token?

#

How long does it take for this token to expire?

quasi shadow
#

You can’t store or use tokens more than once.