#emerald_code
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/1423289548904861816
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
Hello tarzan, heres the payment method example
{
id: 'pm_1SDlKBRWuMyLEyLUA0XiofVz',
object: 'payment_method',
allow_redisplay: 'always',
billing_details: {
address: {
city: 'Cairo',
country: 'EG',
line1: 'Cairo',
line2: null,
postal_code: '11511',
state: 'Cairo Governorate'
},
email: 'jenny@coproxy.local',
name: 'Jean Sigma',
phone: null,
tax_id: null
},
card: {
brand: 'visa',
checks: {
address_line1_check: 'pass',
address_postal_code_check: 'pass',
cvc_check: 'pass'
},
country: 'US',
display_brand: 'visa',
exp_month: 4,
exp_year: 2026,
fingerprint: 'GNqZQrfWPw26uGKn',
funding: 'credit',
generated_from: null,
last4: '4242',
networks: { available: [Array], preferred: null },
regulated_status: 'unregulated',
three_d_secure_usage: { supported: true },
wallet: null
},
created: 1759406971,
customer: 'cus_T5Kju9eOvCr8AW',
livemode: false,
metadata: {},
type: 'card'
}
is there any way I could test this?
The code is in localhost environment, I can provide the relevant code snippets, request ids and so on, Its best if we proceed with the available details
do you have the checkout session ID?
Sure
ID: cs_test_a16gVZaN7AeaxROJhwIsMTLh6imH1b5qT6pC537tTbZf3rJIMysDKFniRq
I expected a tab of saved cards or at least the most recent saved one
yes I agree
would you mind hosting your code just to be able to troubleshoot it? if you don't have a staging or dev environment you can use something like ngrok just to share your local code version
do you want access to the app interface itself or the code as well?
no just the interface
Okay, this might take some time, I will prepare the link and provide it here
thank you