#victory_webhooks

1 messages ยท Page 1 of 1 (latest)

proud pecanBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

finite beacon
limpid skiff
#

hello again

#

what exactly do you need help with here?

finite beacon
#

I want to check issuing_transaction.created this triger on cli but

#

This event is not supported on cli

#

So I tried to on stripe account dashborad here

#

how can I test it?

proud pecanBOT
limpid skiff
#

What docs are you following that suggest using the CLI for this? THe docs we linked in the previous thread explain how to do this with the API or Dashboard

#

You can use the https://api.stripe.com/v1/test_helpers/issuing/authorizations endpoint via API

#

Or the Dashboard flow to create a test authorization

#

The CLI does not support testing issuing authorizations

finite beacon
#

One more question

#

When I create new issuing card via api on my project, It's not activated?

#

How to activate it via api

sweet raptor
#

๐Ÿ‘‹ stepping in as synthrider needs to step away

finite beacon
#

$card = Card::create([
'cardholder' => $cardholderId,
"currency" => "GBP",
'type' => 'virtual', // Change to 'physical' for a physical card
'status' => 'active'
]);

#

Here is code

#

When I remove 'status' => 'active' it works but

#

Card is not activated

#

How can I create activated card?

sweet raptor
#

Did you read the above docs?

finite beacon
#

Yes but I do'nt understand what I have to do for that

sweet raptor
finite beacon
#

return \Stripe\Issuing\Cardholder::create([
'name' => $name,
'email' => $email,
'phone_number' => $phone, // Replace with a valid phone number
'status' => 'active',
'type' => 'individual',
'billing' => [
'address' => $formattedAddress
],
'user_terms_acceptance' => [
'date' => time(), // Current timestamp (Unix time)
'ip' => request()->ip(), // User's IP address (can be fetched dynamically)
],

    ]);
#

This is my code and I can see this error

#

"Received unknown parameter: user_terms_acceptance"

#

Could you please help me with this?

sweet raptor
#

Please look at the docs... it should be:

 'individual' => [
      'card_issuing' => [
        'user_terms_acceptance' => [
          'date' => 1470266163,
          'ip' => '91.121.146.224',
        ],
      ],
    ],
finite beacon
#

return \Stripe\Issuing\Cardholder::create([
'name' => $name,
'email' => $email,
'phone_number' => $phone, // Replace with a valid phone number
'status' => 'active',
'type' => 'individual',
'billing' => [
'address' => $formattedAddress
],
'individual' => [
'card_issuing' => [
'user_terms_acceptance' => [
'date' => time(), // Current timestamp (Unix time)
'ip' => request()->ip(), // User's IP address (can be fetched dynamically)
],
],
],

    ]);
#

Now this is my code but I can see this error still "This cardholder has outstanding requirements preventing them from activating an issued card. Read more at https://stripe.com/docs/issuing/cards"

#

I have to create cardholder and update it for user_terms_Aceptance?

sweet raptor
#

Can you share the request ID for that most recent request?

finite beacon
#

?

#

How can I get it?

sweet raptor
finite beacon
#

Sorry I can't find request id

#

Ah just a second

#

req_X9vdrasueJSeSz

#

This is my request

#

return \Stripe\Issuing\Cardholder::create([
'name' => $name,
'email' => $email,
'phone_number' => $phone, // Replace with a valid phone number
'status' => 'active',
'type' => 'individual',
'billing' => [
'address' => $formattedAddress
],
'individual' => [
'card_issuing' => [
'user_terms_acceptance' => [
'date' => time(), // Current timestamp (Unix time)
'ip' => request()->ip(), // User's IP address (can be fetched dynamically)
],
],
],

    ]);
#

This is my request but I can see card_issuing is null on my log

#

Very strange

sweet raptor
#

I don't think the user_terms_acceptance is returned there in this response.

#

That said, if you look at the request there are outstanding requirements for first and last name