#lelouch

1 messages · Page 1 of 1 (latest)

split saddleBOT
runic pasture
upbeat thunder
#

req_RSWixYwKv6IQkq

runic pasture
#

Checking it now

upbeat thunder
#

sure thanks

upbeat thunder
#

Oooo

#

i add all this ?

#

"requirements": {
"disabled_reason": "requirements.past_due",
"past_due": [
"individual.first_name",
"individual.last_name",
"individual.card_issuing.user_terms_acceptance.date",
"individual.card_issuing.user_terms_acceptance.ip",
],
},

runic pasture
#

requirements.past_due are the information that should be submitted before enabling the cardholder to use card issuing

upbeat thunder
#

can give me an example

#

a little confused

runic pasture
#

When the cardholder was created in https://dashboard.stripe.com/test/logs/req_ujUW1hPod6xOp9, the response showed that there are incomplete requirements under requirements.past_due field, i.e.

  requirements: {
    disabled_reason: "under_review",
    past_due: [
      "individual.card_issuing.user_terms_acceptance.ip",
      "individual.card_issuing.user_terms_acceptance.date",
    ],
  },

Your system should ensure those information are collected before proceeding with any issuing card update. To accept user_terms_acceptance.*, you may follow this guide: https://stripe.com/docs/issuing/cards#accept-authorized-user-terms

Learn how to create cardholders and issue cards.

upbeat thunder
#

hmm what does "under_review" means

#

oh

#

once second

#
        type: "individual",
        name: userData.name,
        email: userData.email,
        status: "active",
        billing: {
          address: {
            line1: "1234 Main Street",
            city: "San Francisco",
            state: "CA",
            country: "US",
            postal_code: "94111",
          },
        },
        individual: {
          first_name: "Jenny",
          last_name: "Rosen",
          dob: { day: 1, month: 11, year: 1981 }, // date of birth
          card_issuing: {
            user_terms_acceptance: {
              date: new Date(),
              ip: "users ip here",
            },
          },
        },
        metadata: {
          key,
        },
      });```
#

is this correct ?

#

hello ?

runic pasture
#

Thanks for waiting, the discord is busy now

upbeat thunder
#

ah it worked

runic pasture
#

hmm what does "under_review" means
Under review means that the information submitted is under review by Stripe

upbeat thunder
#

i needed to pass those into the card_issuing

#

i have another question

#
        "ich_1NaSzMC2b2UXE1UE6gcztsMZ",
        {
          expand: ["number", "cvc"],
        }
      );```
#

i am gettint this error "StripeInvalidRequestError: This property cannot be expanded (number)."

runic pasture
#

Can you share the request ID (req_xxx) of this error?

upbeat thunder
#

sure

#

req_VgxYmbB5lTBpoJ

#

req_aidXobMffTVZ4P

runic pasture
upbeat thunder
#

i was following this

#

how do i get those details ?

runic pasture
#

Expanding an object can only be done on the parameters available. Cardholder object doesn't have number and cvc fields, so nothing can be expanded

#

Can you share what you're trying to get? Is it the card number and cvc of the issuing card?

upbeat thunder
#

yes the cardnumber and vc

#

i want to get them

#

if user needs it and can show to them

runic pasture
upbeat thunder
#

but it only gives ""last4": "3926","

runic pasture
#

you'd need to expand number and cvc fields on the Issuing Card API

upbeat thunder
#

stripe.issuing.cards.retrieve(
'ic_1NYtjz2eZvKYlo2Cx6r0Llkl',{
expand: ["number", "cvc"],
}
);

#

like this ?

runic pasture
#

Yup!

upbeat thunder
#

nice

#

let me try

#

nice worked

#

thanks a lot

#

thats all for now