close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Tax registration numbers

Thread began 11/23/2015 9:53 pm by stuff223820 | Last modified 11/30/2015 4:13 pm by Ray Borduin | 681 views | 6 replies |

stuff223820

Tax registration numbers

In Canada, We are required to charge taxes to customers in each province and they vary by province. I have set up tax rules by province as a total percent BUT...
Each different tax of each province has a different registration number and percentage that we must show on the invoice
For example:
British Columbia:
7% PST (Need to show BC PST registration number)
5% GST (Need to show GST registration number - The same # for almost all provinces )


Ontario:
13% HST (Need to show unique Ontario HST registration number)

How would we accomplish this?

Attached Files
Screen Shot 2015-11-23 at 9.43.13 PM.pdf
Screen Shot 2015-11-23 at 9.49.36 PM.pdf
Sign in to reply to this post

Ray BorduinWebAssist

This would require some hand coding on the page where you want it displayed.

Something like:

php:
<?php

if (isset($_SESSION["eCartCheckoutForm_shipping_State"]) && $_SESSION["eCartCheckoutForm_shipping_State"]  == "ON") {
?>
13% HST [HST NUMBER]
<?php
}
?>



You should be able to do something similar for all of the provinces.

Sign in to reply to this post
Did this help? Tips are appreciated...

stuff223820

Hi Ray

I tried adding it to my pp_receipt.php page and it does not work - does not pull any data from the order. I am most likely implementing it wrong.

starting at line 161 on attached file

Sign in to reply to this post

Ray BorduinWebAssist

You are missing the brackets.... you have:

php:
<?php

if (isset($_SESSION["eCartCheckoutForm_shipping_State"]) && $_SESSION["eCartCheckoutForm_shipping_State"]  == "ON")
?>
13% HST [HST NUMBER]
<?php

?>



and it should be:

php:
<?php

if (isset($_SESSION["eCartCheckoutForm_shipping_State"]) && $_SESSION["eCartCheckoutForm_shipping_State"]  == "ON") {
?>
13% HST [HST NUMBER]
<?php
}
?>
Sign in to reply to this post
Did this help? Tips are appreciated...

stuff223820

Thanks Ray! i made the change and updated the file - will saty out of the site while you have a look at the other challenges. Hoping to launch tomorrow!

Sign in to reply to this post

stuff223820

Hi Ray

This did not work - cant seem to get it to pull the percent. I enclosed the one that is live, and the one i was working on

ALSO, Still not charging tax on shipping

Sign in to reply to this post

Ray BorduinWebAssist

I'm getting a bit lost... where are we on this? What do you mean by "get it to pull the percent"?

I fixed the issue with it not charging sales tax on the shipping... you were using the wrong session variable name in your IF statements. The code you were using was from an eCart 5 implementation and not powerstore.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...