WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: seanie_morris on September 09, 2015, 05:17:26 PM

Title: Uh-oh... my Shipping values will not carry thorugh to the checkout!
Post by: seanie_morris on September 09, 2015, 05:17:26 PM
Hi, I have just found this, so I am not sure where I have gone wrong, but in case someone is able to point me to a solution (and it MUST be stupidly simple!)

My shipping values for abroad/domestic all show up fine under every product, however when following through with a purchase, no shipping value adds to the final cost. It actually displays 'Free Shipping' in red at the final checkout phase (just before PayPal). What the heck did I do now?!

Seanie.
Title: Re: Uh-oh... my Shipping values will not carry thorugh to the checkout!
Post by: seanie_morris on September 09, 2015, 08:51:30 PM
OK, I have investigated this some more and I believe that my problem is in the MySQL. What I did is as follows:

- I created a new WB website in a new subdirectory with its own new database, and added the module Bakery to that, then created a product.
- Put in all the General Settings as needed, setup the PayPal, and did a trial transaction. The shipping values carried to the cart as expected.
- Then, I downloaded the whole altwb/modules/bakery directory (let's call it Dir2) to my local machine, and the same with the primary wb/modules/bakery directory (and call this one Dir1).
- I overwrote Dir1 with Dir2 except for the config.php file so that the Dir1 database details were intact.
- Cleaned the cache, tried to purchase a product, and everything worked as a fresh install should EXCEPT for the shipping value wasn't added to the final total.
- Therefore, ergo, visa-vie, I believe it's what I have in my DB tables that's the problem. I will check these out (Dir1's database versus the newer Dir2 database) and get back here.

Seanie.
Title: Re: Uh-oh... my Shipping values will not carry thorugh to the checkout!
Post by: Gast on September 09, 2015, 10:25:09 PM
do you change the shopping url in the bakery settings? And also the ipn-adress and the redirect-url in the paypal-settings in payment methodes (if used)
or the analog setting in other payment methodes?
if the old adress in the this settings are avaiable, the script works without problem and error messages

for example
if i copy my online wb and db into a locale installation and i test it with the (working) shopping url from the online shop, i buy there an article

so please check this
Title: Re: Uh-oh... my Shipping values will not carry thorugh to the checkout!
Post by: seanie_morris on September 10, 2015, 10:40:35 AM
do you change the shopping url in the bakery settings? And also the ipn-adress and the redirect-url in the paypal-settings in payment methodes (if used)
or the analog setting in other payment methodes?
if the old adress in the this settings are avaiable, the script works without problem and error messages

No, I didn't change any of those settings from when they were first added. For the demo site (Dir2) I didn't even put in any PayPal details, just have PayPal selected as the payments method, and the shipping costs still worked to the checkout phase. Remember, it's not the PayPal payment phase that's the problem, it's the final checkout 'checklist' phase just before you leave the site and you are directed to PayPal for payment.

Seanie.
Title: Re: Uh-oh... my Shipping values will not carry thorugh to the checkout!
Post by: Gast on September 10, 2015, 01:08:59 PM
the important thing is the shop url - see bakery page -> page settings
if i make a copy from my online server from the files and the database and i put a article local in the basket, it is in the online basket. the different between my online page and my local installation is a little "wb_" in the webadress and sometimes i wondering, why i cannot found the datas in my session or local database.
Nearly every link or redirect in the bakery shop use this shop url

paypal was here only a example or additional information, if somebody change the server - all extended payment methodes like paypal or mollie etc using a answer-adress for the succsess message btw a redirect back to your shop after the payment
Title: Re: Uh-oh... my Shipping values will not carry thorugh to the checkout!
Post by: seanie_morris on September 10, 2015, 02:35:57 PM
Shoot, I did something else wrong too and I've had to re-install the bakery module from scratch. It was no harm though, I only am in the testing phase with 3 products, so I actually didn't 'lose' much. So, unfortunately I can't test your theory above jacobi. :(

I do have a few other threads with a few other problems I am trying to solve (that would benefit everyone).

Seanie.