WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: patje8 on May 13, 2014, 03:05:53 PM

Title: payment method
Post by: patje8 on May 13, 2014, 03:05:53 PM
I have a problem with sending the order.
When I fill in the order form and then click below to select payment method then I come back to the cart.
Why is this?
Title: Re: payment method
Post by: jacobi22 on May 13, 2014, 11:39:49 PM
bakery 1.7??
i'm not sure, but i think, go back to the cart is a fallback for some mistakes
whats your payment methodes? only one or more? have you try other methodes? if not, please try invoice for a test.
if you use only paypal, maybe the paypal settings are not complete
Title: Re: payment method
Post by: patje8 on May 22, 2014, 08:46:27 AM
Can someone help me please?
Title: Re: payment method
Post by: nibz on May 22, 2014, 09:12:59 AM
First you can help yourself by answering jacobi's quwstion.
Without input no output.
People need to know whats under the hood before saying which part is the problem.
Title: Re: payment method
Post by: patje8 on May 22, 2014, 09:51:08 AM
Bakery 1.7
Payment methode ==> only invoice
I have tried other methodes but the problem is still the same.
Title: Re: payment method
Post by: instantflorian on May 22, 2014, 11:00:52 AM
Hi,

- did you do any modifications on the Bakery files?
- Have you tested several browsers - maybe it's a privacy-, script- or cookie-issue?
- Which WebsiteBaker version?
- Do you use an own template or a ready one? Does the error also occur, when you switch to one of the standard templates (e.g. "Round" or "AllCSS2")?
- Which PHP version?

Just a vague idea, I don't know very much about these things:
It could also be a problem with the PHP session storage.

Can you give us a link to the page?

-Florian.
Title: Re: payment method
Post by: patje8 on May 23, 2014, 02:48:00 PM
- did you do any modifications on the Bakery files? NO

- Have you tested several browsers - maybe it's a privacy-, script- or cookie-issue? Yes, but the problems is still the same.

- Which WebsiteBaker version? Version 2.8.3 SP1

- Do you use an own template or a ready one? Does the error also occur, when you switch to one of the standard templates (e.g. "Round" or "AllCSS2")? I use my template but when I use template "round" it works.

LINK: http://www.basero.be/pages/nl/webshop.php
Title: Re: payment method
Post by: instantflorian on May 23, 2014, 03:15:57 PM
Hi,

hm, I can repoduce the error, but I don't have a clue how to fix it.

It could be a problem with the BakeryCartLink droplet which yu use I presume (according to the "?view_cart=yes" in the URL), which might not work with alls this jQuery stuff. Really strange.

Unfortunately, when JavaScript is deactivated, the page remains blank, so I can't test whether it is a JavaScript/jQuery related problem or not.

BR
-Florian.
Title: Re: payment method
Post by: dbs on May 23, 2014, 03:37:38 PM
In sourcscode:
Code: [Select]
<form method="post" action="">How can it be?
Title: Re: payment method
Post by: instantflorian on May 23, 2014, 03:39:15 PM
In sourcscode:
Code: [Select]
<form method="post" action="">How can it be?
That is bakery default. I was puzzled too, but checked it out in a working bakery installation - there is also an empty form tag.
Title: Re: payment method
Post by: dbs on May 23, 2014, 05:26:13 PM
If it is a template-problem, you could send me the template for testing.
Title: Re: payment method
Post by: patje8 on May 23, 2014, 05:45:19 PM
I have send the template with email to you.

Thanks
Title: Re: payment method
Post by: dbs on May 23, 2014, 06:14:21 PM
Seems you have something changed on your site?
Have made a testorder and it works.


In my test, on a other domain, with your template, i saw no functionproblems (only displayproblems).
Title: Re: payment method
Post by: instantflorian on May 24, 2014, 10:42:47 AM
Can't confirm, it still does not work for me.

It seems that the save_form.php isn't executed, there's no difference if you fill in the form or not.
The view.php of Bakery looks if $_POST['save_form'] is set (see line 439), this seems not to be the case.

How did you build the page? There's the "webshop" page, but ordering calls the "webshop/all" page.
If I go onto this page, there's only one product, displayed totally different (overview and detail page). The other categories (koffie, thee etc.) are empty.

(And yes, there are display problems too, f.ex. the position of the "weight" pulldown menue.)
Title: Re: payment method
Post by: nibz on May 24, 2014, 07:13:45 PM
I found the problem with the checkout, instantflorian pointed to the right direction:

How did you build the page? There's the "webshop" page, but ordering calls the "webshop/all" page.
If I go onto this page, there's only one product, displayed totally different (overview and detail page). The other categories (koffie, thee etc.) are empty.

The cart needed to link to webshop.php?view_cart=yes.

I fixed it (since i still had access to your site).

But i agree with instantflorian and dbs, there are many display errors that need to be fixed..
In general even i'm not shure the template i converted for you to WB is even really clean coded.
But i think i allready shared my opinion on that. (it's your project).

But the checkout now works!

Regards Robin