#emerald_code

1 messages ยท Page 1 of 1 (latest)

lusty hedgeBOT
#

๐Ÿ‘‹ 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.

rare surge
#

๐Ÿ‘‹ happy to help

feral birch
#

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'
}
rare surge
#

is there any way I could test this?

feral birch
#

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

rare surge
#

do you have the checkout session ID?

feral birch
feral birch
#

ID: cs_test_a16gVZaN7AeaxROJhwIsMTLh6imH1b5qT6pC537tTbZf3rJIMysDKFniRq

feral birch
# feral birch

I expected a tab of saved cards or at least the most recent saved one

rare surge
#

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

feral birch
#

do you want access to the app interface itself or the code as well?

rare surge
#

no just the interface

feral birch
#

Okay, this might take some time, I will prepare the link and provide it here

#

thank you

lusty hedgeBOT