Skip to content

Instantly share code, notes, and snippets.

View sbourk's full-sized avatar

Simon Bourk sbourk

  • bourksoftware.com
  • ottawa,ontario
View GitHub Profile
@joshfeck
joshfeck / canada_taxes.php
Created April 16, 2020 19:35
GST, HST, PST, and QST for Canada eh? Event Espresso 4.
<?php
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file
/**
* PLEASE READ AND FOLLOW ALL INSTRUCTIONS IN CAPS
*
* IN ORDER FOR THIS TO WORK YOU NEED TO ACTIVATE THE "ADDRESS QUESTION GROUP"
* THEN SET THE STATE/PROVINCE QUESTION TO BE REQUIRED
*
* BECAUSE THIS QUESTION SHOULD ONLY BE ASKED ONCE PER TRANSACTION