68 Classifieds Forums
Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Questions & Support > How to charge sales tax?
v3.1 Questions & Support Help and support for 68 Classifieds v3.1.x

 
Thread Tools Display Modes
(#31)
Old
brian-bear brian-bear is offline
Member
brian-bear is on a distinguished road
 
Posts: 31
Join Date: Oct 2006
Default 11-10-2006, 09:41 AM

Hi John
Yeap it works for me too if I create an advert.... so sorry did not even go down that route, I was working totally on the memberships purchase side of things, that is great, now you know the next question, how do i sort the memberships out?
Reply With Quote
(#32)
Old
brian-bear brian-bear is offline
Member
brian-bear is on a distinguished road
 
Posts: 31
Join Date: Oct 2006
Default 11-10-2006, 10:25 AM

OK got it sorted
Reply With Quote
(#33)
Old
brian-bear brian-bear is offline
Member
brian-bear is on a distinguished road
 
Posts: 31
Join Date: Oct 2006
Default 11-10-2006, 10:37 AM

OK from the top for anyone in the UK wishing to charge vat here is what you need
in yourtemplate/checkout/step6.tpl.php should be as follows

HTML Code:
{* $Id: step6.tpl.php,v 1.2 2006/06/05 16:17:02 Eric Exp $ *} <!-- Step 6 of Checkout --> <!-- Verify Order Information --> {if $authorizenet=="Y"} {include file=checkout/authorizenetAIM.tpl.php} {/if} {if $linkpointapi=="Y"} {include file=checkout/linkpointAPI.tpl.php} {/if} {$paymentform} <table class="tableborder"> <tr> <th colspan="2"><strong>{$smarty.const.LANG_VERIFY}</strong></th> </tr> <tr> <td class="formstrip" colspan="2">{$smarty.const.LANG_VERIFY_TXT}</td> </tr> <tr> <td class="formleft">{$smarty.const.LANG_VERIFY_PACKAGE}{$smarty.const.LANG_COLON}</td> <td class="formright">{$package}</td> </tr> <tr> <td class="formleft">{$smarty.const.LANG_PRICE}{$smarty.const.LANG_COLON}</td> <td class="formright">{$price}</td> </tr> <tr> <td class="formleft">{$smarty.const.LANG_ADD_EXTRAS}{$smarty.const.LANG_COLON}</td> <td class="formright">{$extraPrice}</td> </tr> <tr> <td class="formleft">{$smarty.const.LANG_DISCOUNT}{$smarty.const.LANG_COLON}</td> <td class="formright">{$discount}</td> </tr> <tr> <td class="formleft">Subtotal{$smarty.const.LANG_COLON}</td> <td class="formright">{$grandTotal}</td> </tr> {assign var="preTax" value=$grandTotal|regex_replace:"/[\�\,]/":""} <tr> <td class="formleft">VAT{$smarty.const.LANG_COLON}</td> <td class="formright">�{math equation="x * y" x=$preTax y=.175 format="%.2f"}</td> </tr> <tr> <td class="formleft">{$smarty.const.LANG_GRAND_TOTAL}{$smarty.const.LANG_COLON}</td> <td class="formright">�{math equation="x * y" x=$preTax y=1.175 format="%.2f"}</td> </tr> {if $displayProvider} <tr> <td class="formleft">{$smarty.const.LANG_PAYMENT_METHOD}{$smarty.const.LANG_COLON}</td> <td class="formright"> <select name="pPayProvider"> {foreach from=$payprovider item="entry"} <option value="{$entry.id}">{$entry.showas}</option> {/foreach} </select> </td> </tr> {else} <input type="hidden" name="pPayProvider" value="8" /> {/if} <tr> <td colspan="2" class="formstrip"> <div align="center"><input type="submit" name="Submit" value="{$smarty.const.LANG_ADD_LISTING_CONTINUE}" /></div> </td> </tr> </table> <br /> <input name="listingid" type="hidden" value="{$listingid}" /> <input name="step" type="hidden" value="7" /> <input type="hidden" name="tax" value='{math equation="x * y" x=$preTax y=.175 format="%.2f"}' /> </form>
for memberships
in yourtemplate/memberships/step3.tpl.php should be as follows

HTML Code:
<!-- Step 3 of Memberships --> <!-- Verify Order Information --> {if $authorizenet=="Y"} {include file=checkout/authorizenetAIM.tpl.php} {/if} {$paymentform} <table class="tableborder"> <tr> <th colspan="2"><strong>{$smarty.const.LANG_VERIFY}</strong></th> </tr> <tr> <td class="formstrip" colspan="2">{$smarty.const.LANG_VERIFY_TXT}</td> </tr> <tr> <td class="formleft">{$smarty.const.LANG_VERIFY_PACKAGE}{$smarty.const.LANG_COLON}</td> <td class="formright">{$package}</td> </tr> <tr> <td class="formleft">{$smarty.const.LANG_PRICE}{$smarty.const.LANG_COLON}</td> <td class="formright">{$price}</td> </tr> <tr> <td class="formleft">{$smarty.const.LANG_DISCOUNT}{$smarty.const.LANG_COLON}</td> <td class="formright">-{$discount}</td> </tr> <tr> <td class="formleft">Subtotal{$smarty.const.LANG_COLON}</td> <td class="formright">{$grandTotal}</td> </tr> {assign var="preTax" value=$grandTotal|regex_replace:"/[\�\,]/":""} <tr> <td class="formleft">VAT{$smarty.const.LANG_COLON}</td> <td class="formright">�{math equation="x * y" x=$preTax y=.175 format="%.2f"}</td> </tr> <tr> <td class="formleft">{$smarty.const.LANG_GRAND_TOTAL}{$smarty.const.LANG_COLON}</td> <td class="formright">�{math equation="x * y" x=$preTax y=1.175 format="%.2f"}</td> </tr> {if $displayProvider} <tr> <td class="formleft">{$smarty.const.LANG_PAYMENT_METHOD}{$smarty.const.LANG_COLON}</td> <td class="formright"> <select name="pPayProvider"> {foreach from=$payprovider item="entry"} <option value="{$entry.id}">{$entry.showas}</option> {/foreach} </select> </td> </tr> {else} <input type="hidden" name="pPayProvider" value="8" /> {/if} <tr> <td colspan="2" class="formstrip"> <div align="center"><input type="submit" name="Submit" value="{$smarty.const.LANG_ADD_LISTING_CONTINUE}" /></div> </td> </tr> </table> <br /> <input name="productid" type="hidden" value="{$productid}" /> <input name="step" type="hidden" value="7" /> <input type="hidden" name="tax" value='{math equation="x * y" x=$preTax y=.175 format="%.2f"}' /> </form>
Not sure about this have not tested it but
in yourtemplate/membershipcheckout/step6.tpl.php

HTML Code:
{* $Id: step6.tpl.php,v 1.2 2006/04/10 15:20:21 Eric Exp $ *} <!-- Step 6 of Checkout --> <!-- Verify Order Information --> {if $authorizenet=="Y"} {include file=checkout/authorizenetAIM.tpl.php} {/if} {$paymentform} <table class="tableborder"> <tr> <th colspan="2"><strong>{$smarty.const.LANG_VERIFY}</strong></th> </tr> <tr> <td class="formstrip" colspan="2">{$smarty.const.LANG_VERIFY_TXT}</td> </tr> <tr> <td class="formleft">{$smarty.const.LANG_VERIFY_PACKAGE}{$smarty.const.LANG_COLON}</td> <td class="formright">{$package}</td> </tr> <tr> <td class="formleft">{$smarty.const.LANG_PRICE}{$smarty.const.LANG_COLON}</td> <td class="formright">{$price}</td> </tr> <tr> <td class="formleft">{$smarty.const.LANG_ADD_EXTRAS}{$smarty.const.LANG_COLON}</td> <td class="formright">{$extraPrice}</td> </tr> <tr> <td class="formleft">{$smarty.const.LANG_DISCOUNT}{$smarty.const.LANG_COLON}</td> <td class="formright">{$discount}</td> </tr> <tr> <td class="formleft">Subtotal{$smarty.const.LANG_COLON}</td> <td class="formright">{$grandTotal}</td> </tr> {assign var="preTax" value=$grandTotal|regex_replace:"/[\�\,]/":""} <tr> <td class="formleft">VAT{$smarty.const.LANG_COLON}</td> <td class="formright">�{math equation="x * y" x=$preTax y=.175 format="%.2f"}</td> </tr> <tr> <td class="formleft">{$smarty.const.LANG_GRAND_TOTAL}{$smarty.const.LANG_COLON}</td> <td class="formright">�{math equation="x * y" x=$preTax y=1.175 format="%.2f"}</td> </tr> {if $displayProvider} <tr> <td class="formleft">{$smarty.const.LANG_PAYMENT_METHOD}{$smarty.const.LANG_COLON}</td> <td class="formright"> <select name="pPayProvider"> {foreach from=$payprovider item="entry"} <option value="{$entry.id}">{$entry.showas}</option> {/foreach} </select> </td> </tr> {else} <input type="hidden" name="pPayProvider" value="8" /> {/if} <tr> <td colspan="2" class="formstrip"> <div align="center"><input type="submit" name="Submit" value="{$smarty.const.LANG_ADD_LISTING_CONTINUE}" /></div> </td> </tr> </table> <br /> <input name="listingid" type="hidden" value="{$listingid}" /> <input name="m_oID" type="hidden" id="m_oID" value="{$m_oID}" /> <input name="step" type="hidden" value="7" /> <input type="hidden" name="tax" value='{math equation="x * y" x=$preTax y=.175 format="%.2f"}' /> </form>
REMEMBER BACKUP FILES BEFORE TRYING

VAT should now be parsed over to Paypal

All credit to John
Many thanks

cheers
Brian
Reply With Quote
(#34)
Old
juven14 juven14 is offline
Moderator
juven14 has a spectacular aura about
 
Posts: 1,678
Join Date: Mar 2006
Location: NJ/NYC Area
Default 11-10-2006, 11:13 AM

Be sure to check if the ads get activated as they should after payment to paypal. This is one side of it I didn't test.


Regards,

John
mods.auscity.com
v3.1.5 Developer

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
Reply With Quote
(#35)
Old
brian-bear brian-bear is offline
Member
brian-bear is on a distinguished road
 
Posts: 31
Join Date: Oct 2006
Default 11-10-2006, 11:40 AM

John we work on admin approval so I think it will be fine
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
If there's no charge on the ad why not activate it? Chad v3.1 Questions & Support 2 10-06-2006 10:06 PM
Is there anyway to charge for responding to ads? sbuell20 v3.0 Questions & Support 0 08-04-2006 10:44 PM
Turbo charge you site with 'Mash Ups' Chaslie Site Marketing 0 05-09-2006 02:58 AM
Pre sales questions Unregistered Pre Sales 2 04-25-2006 11:51 AM
how can I charge to view listings instead of charging to post them build v3.0 Modifications 6 04-11-2006 11:46 AM



Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com