Re: Fast and Easy Checkout for Zen Cart
Quote:
Originally Posted by
mydanilo
numinix, thanks for offering. Turns out that if I use cc.php offline credit card mod it works fine with the cvv warning. I want to use the qbms.php quickbooks merchant payment module. Seems like the verification JavaScript is not working correctly. I think it was made for a older zen version where no pop up warning was used. I would love to have it modified to give me the same pop up warning. Here is the script that needs to be modified:
HTML Code:
// function javascript_validation: Validates the submitted payment details.
function javascript_validation() {
$js = ' if (payment_value == "' . $this->code . '") {' . "\n" .
' var cc_owner = document.checkout_payment.qbms_cc_owner.value;' . "\n" .
' var cc_number = document.checkout_payment.qbms_cc_number.value;' . "\n" .
' if (cc_owner == "" || cc_owner.length < ' . CC_OWNER_MIN_LENGTH . ') {' . "\n" .
' error_message = error_message + "' . MODULE_PAYMENT_QBMS_TEXT_JS_CC_OWNER . '";' . "\n" .
' error = 1;' . "\n" .
' }' . "\n" .
' if (cc_number == "" || cc_number.length < ' . CC_NUMBER_MIN_LENGTH . ') {' . "\n" .
' error_message = error_message + "' . MODULE_PAYMENT_QBMS_TEXT_JS_CC_NUMBER . '";' . "\n" .
' error = 1;' . "\n" .
' if (' . MODULE_PAYMENT_QBMS_VERIFY_WITH_CVV2 . ' == "True") {' . "\n" .
' var cc_cvv2 = document.checkout_payment.qbms_cc_cvv2.value;' . "\n" .
' if (cc_cvv2 == "" || cc_number.length < ' . 3 . ') {' . "\n" .
' error_message = error_message + "' . MODULE_PAYMENT_QBMS_TEXT_JS_CC_CVV2 . '";' . "\n" .
' error = 1;' . "}\n" .
' }' . "\n" .
' }' . "\n" .
' }' . "\n";
return $js;
I know you are a programmer. Would you agree that this is the problem?
No the problem is your files are not all up to date:
Viewing the source I see:
PHP Code:
<form name="checkout" action="https://www.mydanilo.com/fec_confirmation" method="post" id="checkout" onsubmit="submitonce();">
This should say id="checkout_payment".
Get the latest version from the Numinix website.
Re: Fast and Easy Checkout for Zen Cart
Mydanilo - please see solution posted on other thread:
http://www.zen-cart.com/forum/showpo...&postcount=130
Skip pages- Billing, Shipping, Cart
I have the latest FEC and ESL- thanks, Numinix!
- Does anyone know how the Billing page can be skipped for COWOA? I'd like this because A) I use PayPal and would rather customers get to PP one step faster (even though the Billing info is copied to PP) and B) it seems counter-productive to ask for Billing on my site when I'm giving them a COWOA option. Some people don't like giving their personal info to so many websites.
- Can the Shipping page also be skipped? I sell gift items and the Product Info page includes an attribute text-field to fill out the recipient's address, so skipping the page will make the process that much faster.
(I figure the attribute method is a simple way to get multiple delivery addresses with multiple items or quantity- one at a time when adding to cart. As for account holders who would order more than once over time and ship to the same person, I figure it's not a hassle for them to view a past order and copy and paste a name and address, as opposed to the standard method of being able to check off previos names and addresses.)
- Can clicking Add To Cart skip the Cart Contents page? I've seen this before, but I'm not clear on the answer. Since the Checkout page shows the Cart Contents box with an edit button, I figure there must be a way to speed up this process.
I understand the system first has to save the cart contents info after clicking Add To Cart, but can the next page be blank for a second or two and automatically redirect to the next step/page?
Cheers,
Robbie
Re: Skip pages- Billing, Shipping, Cart
As for the Shipping page, I just realized that info is necessary to calculate tax. So I would probably still keep my system of the recipient attribute field and now use the Shipping page, but delete/disable all the fields except for Province and Country. I'm not a programmer, but am usually good at following directions and figuring out little things...is this possible and safe? Do I simply use code like // or <--- to block out the fields?
And for these two little fields, is there still a way to skip the Shipping page but put these two fields on the next page?
Thanks,
Robbie
Re: Fast and Easy Checkout for Zen Cart
Im looking for assistance with this module...
I need to change a payment module redirection when it errors.
Currently its refering to checkout_payment but obvously this page is no longer used when in 1 page checkout.
Here is the code:
PHP Code:
zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_STGEORGEHPP_TEXT_FAILED_MESSAGE . " " . $response_text), 'SSL', true, false));
How can i change this code to refer back to this page correctly so i dont get a 406 error?
PHP Code:
index.php?main_page=checkout&action=null
I need it to redirect back to this page so payment can be re done.
Redirect Loop caused by PayPal Express?
Okay, you can ignore my other questions just prior as I realized PayPal Express (PPE) helps speed up Checkout, at least for those who don't wish to create an account.
But when I have PPE installed and use normal or COWOA Checkout, I get that FireFox message of, "Firefox has detected that the server is redirecting the request for this address in a way that will never complete..." With normal Checkout, I get this after clicking Submit on the Create Acc't page and with COWOA I get this after Submit on the Shipping Address page.
And I'm pretty sure the problem is PPE because I turned many things on and off (One-Page, COWOA, PPE, etc.) and everything's fine with PPE off.
I don't have a SEO module installed (I read a previous post that it may cause Redirect Loop). I have the latest FEC and ESL and ZC 1.38a.
The site is alexandergifts *dot* ca (right now COWOA is off, One-Page on and PPE on). Only Flowers are currently live.
Any ideas, please?
Robbie
1 Attachment(s)
Re: Fast and Easy Checkout for Zen Cart
Hi Numinix,
I have a little formatting issue that has been driving me mad since I can't figure it out!:D
In the order totals the shipping method is wrapped in brackets and I can't get rid of them. I see in the checkout/header_php file in the case statements that the ' (' and ')' are added into the shipping method and I have removed those. Now, if a new shipping method is selected, the page is refreshed and the brackets are removed. But where oh where do I find where the original enclosing method brackets are so I can remove them?? I have looked through every file I can think of, order_total/ot_shipping.php, classes/shipping.php, but can't find it.
Attached is a screenshot of what I mean, in this case it's wrapping UPS(Ground). Can anyone please help me resolve this niggling issue?
Thanks!
Matt
Re: Fast and Easy Checkout for Zen Cart
Quote:
Originally Posted by
gee38l
Im looking for assistance with this module...
I need to change a payment module redirection when it errors.
Currently its refering to checkout_payment but obvously this page is no longer used when in 1 page checkout.
Here is the code:
PHP Code:
zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_STGEORGEHPP_TEXT_FAILED_MESSAGE . " " . $response_text), 'SSL', true, false));
How can i change this code to refer back to this page correctly so i dont get a 406 error?
PHP Code:
index.php?main_page=checkout&action=null
I need it to redirect back to this page so payment can be re done.
Anyone?
Re: Fast and Easy Checkout for Zen Cart
Quote:
Originally Posted by
gee38l
Anyone?
That is incorrect. FEC overrides both checkout_shipping and checkout_payment so that all links are directed to "checkout".
If a payment method isn't returning an error from checkout_process, it is because the author forgot to create a message stack error and then use the "payment_error" in the redirect to checkout_payment. In your case, you will need to add an additional check to FEC to not redirect if a parameter called "error_message" exists and display the value as an alert to the visitor.
Re: Fast and Easy Checkout for Zen Cart
Quote:
Originally Posted by
numinix
COWOA is already setup with Easy Sign-Up and Login and includes some enhanced features.
I've been going in circles here...
I have installed (in this order):
1) Fast and Easy Checkout
2) Easy Signup and Login
I then enabled COWOA in the admin.
Now when I click to COWOA it's still two more pages: billing address, then credit card info.
Is there not a way to click COWOA and then go to the ONE-PAGE checkout (including shipping options, address, and cc all in one page)??