user

Eslam Zedan

2 Mar 2022

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

No Comments to show

© 2024 Copyrights reserved for web-brackets.com