VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Development Projects, Modifications, Hacks & Tweaks. VM1.1 => Shipping Modules => Topic started by: Baileys on March 11, 2005, 17:18:09 PM

Title: Canada Post
Post by: Baileys on March 11, 2005, 17:18:09 PM
http://mambo-phpshop.net/index.php?option=com_smf&Itemid=71&topic=8818.0

The module works fine so far, if anyone is interested, I can give the source files.
Based on the dev from "allaboutweb.ca", but I made quite a few modifications for to integrate it correctly.
Title: Re: Canada Post
Post by: Soeren on March 12, 2005, 12:43:42 PM
Hello,
thanks for that. You could post the files here, so I can integrate them into the official distribution.

ciao, Soeren
Title: Re: Canada Post
Post by: Baileys on April 14, 2005, 03:31:41 AM
Hello,

here is the latest release of the Canada Post Module.
It includes 2 language files : french and english.
Also, an XML parser is included, which I have not developed myself.
Please let me know if corrections have to be made.
Regards.
PY

[attachment deleted by system, too old!]
Title: Re: Canada Post
Post by: Soeren on April 15, 2005, 11:16:36 AM
Hello,
I'll integrate that into the official distribtion. But I'll rewrite it so it uses the DOMIT! XML Parser. We don't need another XML Library ;-)

ciao, Soeren
Title: Re: Canada Post
Post by: Baileys on April 15, 2005, 14:09:05 PM
excellent  ;D
Title: Re: Canada Post
Post by: Tonto on June 03, 2005, 22:17:56 PM
Quote from: Soeren on April 15, 2005, 11:16:36 AM
Hello,
I'll integrate that into the official distribtion. But I'll rewrite it so it uses the DOMIT! XML Parser. We don't need another XML Library ;-)

ciao, Soeren

Hi Soeren,

Did you ever rewrite the XML parser as I'd like to use this same shipping module and haven't a clue what the xml parser is for.

Thanks
Title: Re: Canada Post
Post by: Soeren on June 06, 2005, 10:57:21 AM
Don't worry,
just use it...
I had no time to rewrite it for DOMIT!.

ciao ,Soeren
Title: Re: Canada Post
Post by: Tonto on June 06, 2005, 17:05:24 PM
Okay.

Where do I put it and how do I use it?

Kinda new to all this.
Title: Re: Canada Post
Post by: Soeren on June 06, 2005, 17:07:15 PM
Hello,

(sorry:) please read the documentation!

1. Select Canada Post in the Shop configuration

2. Configure it via "Store" => "Shipping Mdule List".

ciao, Soeren
Title: Re: Canada Post
Post by: Tonto on June 06, 2005, 19:09:45 PM
In my Shop Configuration, the Canada Post shipping method doesn't show up.

Any ideas?
Title: Re: Canada Post
Post by: Soeren on June 07, 2005, 13:46:54 PM
So copy

canadapost.cfg.php (http://http://cvs.sourceforge.net/viewcvs.py/*checkout*/mambo-phpshop/mambo-phpShop/classes/shipping/canadapost.cfg.php)
canadapost.php (http://http://cvs.sourceforge.net/viewcvs.py/*checkout*/mambo-phpshop/mambo-phpShop/classes/shipping/canadapost.php)
canadapost.ini (http://http://cvs.sourceforge.net/viewcvs.py/*checkout*/mambo-phpshop/mambo-phpShop/classes/shipping/canadapost.ini)

into /classes/shipping/

ciao, Soeren
Title: Re: Canada Post
Post by: wangster on June 24, 2005, 01:28:07 AM
When I click "Save" when editing the Canada post settings I get this error:
----
ERROR
Function Not Registered
shippingmethodSave is not a valid MOS_com_phpShop function.
----

Also, this must be obvious but I can't seem to see how to make the shipping modules active?

I have installed it simply by downloading the 3 files linked above and then manually installing miniXML.
Title: Re: Canada Post
Post by: Baileys on June 29, 2005, 14:43:30 PM
http://www.mambo-phpshop.net/index.php?option=com_smf&Itemid=71&topic=4018.msg4059
Title: Re: Canada Post
Post by: jumbofudge on August 11, 2005, 03:45:53 AM
i am using version 4.5.2.3. after selecting one of the canada post shipping methods i get the following 2 errors after clicking 'next':

For 'Priority Courier': "Parse error: parse error, unexpected T_STRING in /homepages/32/d106608722/htdocs/gamekeysonline.com/administrator/components/com_phpshop/classes/ps_checkout.php(64) : eval()'d code on line 1"

and for 'expidited' or 'regular': "Fatal error: Cannot instantiate non-existent class: expedited in /homepages/32/d106608722/htdocs/gamekeysonline.com/administrator/components/com_phpshop/classes/ps_checkout.php(64) : eval()'d code on line 1"

Any help is much appreciated! thanks
Title: Re: Canada Post
Post by: sh0t0 on September 30, 2005, 05:27:31 AM
Quote from: Baileys on April 14, 2005, 03:31:41 AM
Hello,

here is the latest release of the Canada Post Module.
It includes 2 language files : french and english.
Also, an XML parser is included, which I have not developed myself.
Please let me know if corrections have to be made.
Regards.
PY

It works ok for me, except when you  select any shipping methods..then continue, then you get this error...i picked "Regular" method

/administrator/components/com_phpshop/classes/shipping/Regular.php): failed to open stream: No such file or directory in /administrator/components/com_phpshop/classes/ps_checkout.php on line 63
Warning: ps_checkout(): Failed opening '/administrator/components/com_phpshop/classes/shipping/Regular.php' for inclusion (include_path='.:') in /administrator/components/com_phpshop/classes/ps_checkout.php on line 63

Fatal error: Cannot instantiate non-existent class: regular in /administrator/components/com_phpshop/classes/ps_checkout.php(64) : eval()'d code on line 1

its like its not writing those method files or are they missing?