Is there anyway to setup the sales tax in SandBox and make it calculate automatically at checkout ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello there,
I want to know if there is a place to setup my taxes and have it to calculate by themselves at checkout ?
I am from Quebec City, so we have the tax for the Canada which is 5%, and the one for the province which is 9,975%
I don't know if the subject have been ask before but sorry if it has already been asked.
Thanks
- Labels:
-
API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @Segler,
Thank you for your post and welcome to the Community Forum.
If you have integrated legacy button integration, please follow the below steps to access or edit your Sales tax via Sandbox business account :
Login http://sandbox.paypal.com/ >> go to "Account settings" >> Payment preferences >> Sales tax >> update.
(or)
Use the direct link to access PayPal Sales Tax settings : https://www.sandbox.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-sales-tax
Please follow the below steps to access or edit your PayPal Shipping Calculations via Sandbox business account :
Login http://sandbox.paypal.com/ >> go to "Account settings" >> Shipping >> Shipping Calculations >> update.
(or)
Use the direct link to access PayPal Shipping Calculations : https://www.sandbox.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-shipping
For API integrations, merchants should pass the respective "Sales/Shipping" amount values in their website payment API calls to PayPal system.
Example for Sales tax :
NVP API : Please pass "L_PAYMENTREQUEST_n_TAXAMTm" value .
REST API : Please pass "tax_total" value.
https://developer.paypal.com/docs/api/orders/v2/#definition-amount_breakdown
Sincerely,
Chiranjeevi
PayPal/Braintree MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks @MTS_Chiranjeevi for all the useful information.
Since I am from Quebec City, we have a tax for the province which is 9.975% and another one for the country which is 5%
I have setup both of them in my paypal account in SandBox, but when I am at checkout I have only one of them that is add to the amount and not both
Here is my form :
<form action="payments-2.php?gross=<?= $row_abonnement['prix']; ?>&ID=<?= $_SESSION['membre']['id_insert']; ?>" method="post">
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="lc" value="CA" />
<input type="hidden" name="button_subtype" value="products" />
<input type="hidden" name="cn" value="Instructions Spéciales" />
<input type="hidden" name="charset" value="utf-8">
<input type="hidden" name="no_shipping" value="0" />
<input type="hidden" name="tax_total" value="0" />
<input type="hidden" name="first_name" value="<?= $_SESSION['membre']['prenom']; ?>" />
<input type="hidden" name="payer_email" value="removeforpurpose" />
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHosted" />
<?php if (isset($_SESSION['membre']['id_insert'])) { ?>
<input type="hidden" name="custom" value="<?= $_SESSION['membre']['id_insert']; ?>">
<?php } ?>
<input type="submit" name="payer" value="Payer" class="btn btn-primary" />
</form>
I have no idea what is the value that I must give to the tax_total to make it add the two taxes.
And I have notice that my buyer account is base in Ontario and I am not able to change the adress in Quebec to see if both taxes will be added to amount.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Need help to integrate PayPal Standard Checkout with Shopify in PayPal Payments Standard
- How to redirect user to paypal checkout form for card payment? in PayPal Payments Standard
- Im am a developer and i am having issues getting google pay to work on my account. in Sandbox Environment
- Advance integration form field processing in REST APIs
- Problems connecting to PayPal Commerce Platform and accessing Advanced Checkout in REST APIs