Forums / Built-in Shipping and Payment Modules / Coupon redeemption leads to blank page when no payment method is selected.

Coupon redeemption leads to blank page when no payment method is selected.

Views: 1,072

Results 1 to 6 of 6
8 Jul 2013, 4:10 PM
#1
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Coupon redeemption leads to blank page when no payment method is selected.

So putting in a coupon code and not choosing a payment method takes the buyer to the checkout_confirmation page which of course throws an error because the payement isn't there.

Hitting the back button shows the checkout_payment page with the coupon redeem success method and the no payment chosen error message.

Nothing in the checkout has changed but the payment methods are all essentially clones with no actual payment method except for a brand new payment module for IPPay.

Would the modules be at fault for allowing the submit button to got to confirmation without a payment choice or can the payment modules themselves create a problem?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

8 Jul 2013, 4:30 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Coupon redeemption leads to blank page when no payment method is selected.

How many Payment methods are allowed?

If you start from, Logged Out ...

Then Login ... Go to Checkout ... Pick a shipping method ... Continue ... and go to the checkout_payment page ... is a Payment Module selected?

Then, on the checkout_payment page enter your Discount Coupon and click Continue, what happens?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Jul 2013, 4:42 PM
#3
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Coupon redeemption leads to blank page when no payment method is selected.

No, there's no default payment method selected to start with. So not selecting payment method but doing a coupon redemption returns an error on checkout_confirmation.

If one is supposed to be selected, how do we make that happen? Preferably in the new gateway payment module, I guess.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

8 Jul 2013, 4:53 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Coupon redeemption leads to blank page when no payment method is selected.

Actually, if you follow those steps, you should still be on the checkout_payment page and see 2 messages:

Congratulations you have redeemed the Discount Coupon Please select a payment method for your order.

Have you an URL for your site that we can perhaps test and see what is happening?

Also, could you PM me a Discount Coupon code to test this?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Jul 2013, 6:02 PM
#5
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Coupon redeemption leads to blank page when no payment method is selected.

The problem turned out to be a language file for one of the payment methods. So obviously even though no payment method was chosen, zen cart runs thru all the payment language files any way. In this case creating an error and a totally unanticipated blank page - which looked to be the confirmation page and not the payment page.

So the lesson is never ignore an error message about a language file!

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

9 Jul 2013, 6:09 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Coupon redeemption leads to blank page when no payment method is selected.

Thanks for the update and letting us know the solution ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!