#victory_issuing

1 messages · Page 1 of 1 (latest)

south elkBOT
#

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

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

dusty comet
#

hey

nova lark
#

@dusty comet please ask your question via #help – this is your last warning

dusty comet
#

no one respond my quastions bro

nova lark
#

I don't see a question from you

main cave
#

Thanks but that docs is for mobile and I am working on web version

#

Could you please give me sample code for larabel

#

To create secure code and add issuing card to google pay using secure token?

#

I create card successfully but I have no idea to continue integraion

nova lark
#

Did you read the doc I linked?

Cardholders can add Stripe Issuing virtual cards and physical cards to their Apple Pay, Google Pay, and Samsung Pay wallets through manual provisioning.

To do so, cardholders open the wallet app on their phone and enter their card details. Stripe then sends a 6-digit verification code to the phone_number or email of the cardholder associated with the card.

A card not supported error displays if neither field is set on the cardholder when the card was provisioned.

No code is required to implement manual provisioning, but the process to set it up can vary depending on the digital wallet provider and the country you’re based in:

#

But as I said, it's only supported for US merchants

#

Apple Pay wallets require approval from Apple. Check your digital wallets settings to view the status of Apple Pay in your account. You might need to submit an application before using Apple Pay.

Google Pay and Samsung Pay have no additional required steps.

#

You should just be able to add the Issuing card(s) to a Google Pay wallet without any configuration, assuming you have a US Stripe account

main cave
#

stripe doesn't provide full card number so user can't add issuing card to their wallet

#

So I want to make "add to google pay" button and when user click this and add user's issuing card to google pay wallet

#

using secure token

nova lark
#

That's not supported outside of mobile 'push provisioning', sorry

main cave
#

Can I get full card detail via api?

#

But I don't recommand this

#

I want to get secure token from card and I want to add this to google pay using secure token

nova lark
#

Not sure what to advise you then I'm afraid. What you want to do is not supported today

main cave
#

Sorry my bad English

#

Let's me explain

#

I am making job site and on my stripe account , I create issuing card for my users

nova lark
#

I'm not sure what you can explain? I know what you want to do, it just isn't possible in a web integration today – only on mobile

main cave
#

Ah got it Thanks

#

One more question

#

When I create card via api I can get only last 4 numbers

#

Not full card number

#

Can I get full card number via API?

main cave
#

I think I tried this but at that time I got error

nova lark
#

Got an example?

main cave
#

Just a second

#

Let me show you error

#

This property cannot be expanded (number). You may want to try expanding 'data.number' instead

#

I can see this error

nova lark
#

Did you try what it suggested?

main cave
#

I tried this

nova lark
#
$stripe->issuing->cards->all(['expand' => ['data.number', 'data.cvc']]);
#

You're using the list endpoint, so the objects are nested inside a data array

main cave
#

"error": "For security reasons, the "number" and "cvc" fields can only be expanded via the "Retrieve a card" method (https://stripe.com/docs/api/issuing/cards/retrieve)."

#

Now I can see this error

nova lark
#

Then I guess you can't use the via the list endpoint and only when retrieving each card individually

main cave
#

Yes I want that

#

I want to get card detail via card id

#

I need to get full card number from card id

#

Is it possible

#

Thanks

nova lark
#

The error literally tells you which API method to use

main cave
#

{
"id": "ic_1MvSieLkdIwHu7ixn6uuO0Xu",
"object": "issuing.card",
"brand": "Visa",
"cancellation_reason": null,
"cardholder": {
"id": "ich_1MsKAB2eZvKYlo2C3eZ2BdvK",
"object": "issuing.cardholder",
"billing": {
"address": {
"city": "Anytown",
"country": "US",
"line1": "123 Main Street",
"line2": null,
"postal_code": "12345",
"state": "CA"
}
},
"company": null,
"created": 1680415995,
"email": null,
"individual": null,
"livemode": false,
"metadata": {},
"name": "John Doe",
"phone_number": null,
"requirements": {
"disabled_reason": "requirements.past_due",
"past_due": [
"individual.card_issuing.user_terms_acceptance.ip",
"individual.card_issuing.user_terms_acceptance.date",
"individual.first_name",
"individual.last_name"
]
},
"spending_controls": {
"allowed_categories": [],
"blocked_categories": [],
"spending_limits": [],
"spending_limits_currency": null
},
"status": "active",
"type": "individual"
},
"created": 1681163868,
"currency": "usd",
"exp_month": 8,
"exp_year": 2024,
"last4": "4242",
"livemode": false,
"metadata": {},
"replaced_by": null,
"replacement_for": null,
"replacement_reason": null,
"shipping": null,
"spending_controls": {
"allowed_categories": null,
"blocked_categories": null,
"spending_limits": [],
"spending_limits_currency": null
},
"status": "active",
"type": "virtual",
"wallets": {
"apple_pay": {
"eligible": false,
"ineligible_reason": "missing_cardholder_contact"
},
"google_pay": {
"eligible": false,
"ineligible_reason": "missing_cardholder_contact"
},
"primary_account_identifier": null
}
}

#

Base on the document this is the respnose

#

As you can see there is no full card number

#

But I need to get full card number

south elkBOT
nova lark
#

Did you include expand: ['number']?

main cave
#

$stripe->issuing->cards->retrieve('ic_1MvSieLkdIwHu7ixn6uuO0Xu', [expand: ['number']]);

#

This is correct?

nova lark
#

Yes

main cave
#

Let me try

main cave
nova lark
main cave
#

Thanks for your help

#

It's working now

#

Many thanks

digital talon
#

hi! I'm taking over this thread. let me know if you have other questions!

main cave
#

What I have to add to get CVV as well?

digital talon
#

please remove your secret key from the above message. Edit: I just deleted it for you.

#

also you probabbly want to roll your secret key, since this is a public chat

south elkBOT