Hello Kevin,
This module has been working very well for me for the past 2 years.
Now that I've become more experienced with php, I'd like to refine the module a little bit for our specific web site.
I'll explain:
Specifically, I'd like to address the account creation and the timing of the address scrub.
On our site, when a customer creates an account, the next screen is the shipping method and shipping address confirmation.
At this point, the address has not yet been verified with USPS. But our website instructs the customer to inspect the address for accuracy for shipping purposes.
The next step in the order process takes the customer to the payment information screen. Now the address has been verified and scrubbed. But this is a little too late. Here it shows the billing address.
What I'd like to do is scrub the address immediately after the account creation. This way, when the customer comes to the shipping screen, it displays the properly verified and scrubbed address. And at that point the customer has a chance to change it.
I've looked through the code a little bit, and found this section:
It looks like different notify headers could be used without too much trouble. Perhaps, instead ofCode:class cassValidation extends base { /** * constructor method * * Attaches our class to the $_SESSION['cart'] class and watches for 2 notifier events. */ function cassValidation() { global $zco_notifier; $zco_notifier->attach($this, array('NOTIFY_HEADER_START_CHECKOUT_SHIPPING'));
I could useCode:NOTIFY_HEADER_START_CHECKOUT_SHIPPING
What do you think?Code:NOTIFY_HEADER_END_CREATE_ACCOUNT_SUCCESS
I haven't tried any of this yet. I thought I'd ask you first.
I've become fairly comfortable making code changes, so please don't be shy about it.
Thanks so much for your help.
Cheers.
Jason


Reply With Quote



