#victory_issuing
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/1356950924278628403
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hey
It's not straight forward and only supported for US merchants: https://docs.stripe.com/issuing/cards/digital-wallets
@dusty comet please ask your question via #help – this is your last warning
no one respond my quastions bro
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
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
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
That's not supported outside of mobile 'push provisioning', sorry
You can get the full card details: https://docs.stripe.com/issuing/cards/virtual#retrieve-virtual-card-details
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
Not sure what to advise you then I'm afraid. What you want to do is not supported today
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
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
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?
Answers this question I think
I think I tried this but at that time I got error
Got an example?
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
Did you try what it suggested?
I tried this
$stripe->issuing->cards->all(['expand' => ['data.number', 'data.cvc']]);
You're using the list endpoint, so the objects are nested inside a data array
"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
Then I guess you can't use the via the list endpoint and only when retrieving each card individually
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The error literally tells you which API method to use
{
"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
Did you include expand: ['number']?
$stripe->issuing->cards->retrieve('ic_1MvSieLkdIwHu7ixn6uuO0Xu', [expand: ['number']]);
This is correct?
Yes
Let me try
Could you please give me correct code for this?
I'd recommend reading the documentation: https://docs.stripe.com/api/expanding_objects?lang=php
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
hi! I'm taking over this thread. let me know if you have other questions!
What I have to add to get CVV as well?
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
you can find all properies and expendable properties here: https://docs.stripe.com/api/issuing/cards/object
for example you can find cvc here: https://docs.stripe.com/api/issuing/cards/object#issuing_card_object-cvc