#appdevs-ltd_code

1 messages ยท Page 1 of 1 (latest)

next daggerBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

jade bough
#

๐Ÿ‘‹ happy to help

stuck meteor
#

we want to issuesing virtualcard by using your api can provided step by setp api code example?

jade bough
#

is this for you own business? or to provide to other businesses?

stuck meteor
#

We just make ready scripts for our client will be used this. We making our script by Php laravel

jade bough
#

so you want to offer your users the ability to create virtual cards for their users?

stuck meteor
#

yes

jade bough
stuck meteor
#

I using this api but when i use this code i found this error
$stripe = new \Stripe\StripeClient('sk_test_51Qu8n9QKiqdwAQ6p16q9XCGHcYw6weacY5DkLkMxfQKDp53JwmMcN3oZ3RtRBYy2ha0lAXglfRbCpf5Pk4riEMOA00OBBw6r0H');
$result = $stripe->accounts->create([
'country' => 'US',
'business_type' => 'individual',
'email' => 'issues.rosen@example.com',
'controller' => [
'losses' => ['payments' => 'application'],
'fees' => ['payer' => 'application'],
'stripe_dashboard' => ['type' => 'none'],
'requirement_collection' => 'application',
],
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
'card_issuing' => ['requested' => true],
],
]);

jade bough
#

why the business_type is individual?

#

you don't need the card_payments capability though

#

please try removing these 2 params and try again

stuck meteor
#

ok

#

$stripe = new \Stripe\StripeClient('sk_test_51Qu8n9QKiqdwAQ6p16q9XCGHcYw6weacY5DkLkMxfQKDp53JwmMcN3oZ3RtRBYy2ha0lAXglfRbCpf5Pk4riEMOA00OBBw6r0H');
$result = $stripe->accounts->create([
'country' => 'US',
'capabilities' => [
'transfers' => ['requested' => true],
'card_issuing' => ['requested' => true],
],
'controller' => [
'stripe_dashboard' => ['type' => 'none'],
'fees' => ['payer' => 'application'],
'losses' => ['payments' => 'application'],
'requirement_collection' => 'application',
],
]);
dd( $result);

now using this but still this problem

jade bough
stuck meteor
#

req_oeIxeyxJ9fdgsK

#

can you please setup my account for createing connect and issues virtual card

jade bough
#

@stuck meteor please wait while I check what's the issue with your request

stuck meteor
#

problem come from this?

jade bough
#
#

they will be able to help you

stuck meteor
#

but my account status tell me that another thing

jade bough
#

please do continue on Stripe Support, I won't be able to help you with this since it's more of an account setup issue not an integration one

stuck meteor
#

ok dear

#

can i test strip connect by using test key/ sandbox mode?

jade bough
#

yes

stuck meteor
#

can I test all setup/testing like Live/production mode?

jade bough
#

yes you can test Connect and Issuing in test mode or using sandboxes

stuck meteor
jade bough
#

yes and if you have any question while integrating feel free to come back and ask it here

stuck meteor
#

ok