#joshandrews43

1 messages · Page 1 of 1 (latest)

wheat oarBOT
sharp valve
#

Hi there

#

I don't believe so but let me check

pearl forum
sharp valve
#

Hmm yeah that's a good point

#

Give me a moment

#

Hmm okay actually my test card does show pending

#

How are you creating the Issuing Card exactly?

pearl forum
#

I have a custom integration

#

Through the API

sharp valve
#

Sure, can you show me the code you are using to create the Issuing Card?

pearl forum
#

Ya one sec

#

schoolId here just gets the connected account for that customer

#

its an issued card on the connected account

#
export const formatShipping = (
  shipping?: CreateIssuingCardParams['shippingInfo'],
): Stripe.Issuing.CardCreateParams['shipping'] =>
  shipping
    ? {
        name: shipping.name,
        address: {
          line1: shipping.addressLine1,
          line2: shipping.addressLine2,
          city: shipping.city,
          state: shipping.state,
          postal_code: shipping.zip,
          country: 'US',
        },
      }
    : undefined;```
#

For completeness I added my code for formatting the shipping object

sharp valve
#

Can you also provide an example Card ID that you created?

pearl forum
#

ic_1MAdtT2HYio6TkGSJX7busF2

#

No problem sir

#

The webhooks were all called automatically, it did go through all the phases

sharp valve
#

Thanks, seems like you are doing everything correctly. I'm checking with a colleague give me a moment

#

Ah okay!

#

Figured it out

#

We added this in a newer API version

#

So you need to be on at least 2022-08-01

#

(Be very careful updating your default if you have anything live on this account!!)