user image

Eslam Zedan
Published in : 2022-03-02

Send to the Stripe where the payment is going for taxes perpose

Laravel

Hello,

I have a stripe account and set in the dashboard my taxes to be handled that anyone pay inside Canada will take taxes but anyone who pays outside Canada will not take taxes.

in the API I send the amount and description only 

Stripe\Stripe::setApiKey(env('STRIPE_SECRET'));Stripe\Charge::create(["amount" => $price * 100,"currency" => "cad","source" => $request->stripeToken,"description" => $MyDescription]);

Now how I can tell the stripe that payment going from where?

any help?

Thanks

Comments

There is no comments yet

Leave a comment

Join us

Join our community and get the chance to solve your code issues & share your opinion with us

Sign up Now

Related posts

[solved] All assets in laravel storage returns 404
Publish date: 2021-12-14 | Comments: 2
Laravel error 419 page expired
Publish date: 2021-04-10 | Comments: 2
How can I use arabic words, paragraphs in the faker?
Publish date: 2022-03-06 | Comments: 1