Re: Checkout by Amazon Zen Cart Plug-in - Look Ma, No Dupes
Quote:
Originally Posted by
delia
I don't have much faith in Amazon at this point considering they developed the current Zen Cart module here, then promptly abandoned it (without ANY announcement). Then proceeded to push off any responsibility for it's current issues on Zen Cart itself versus admitting that the module is now abandoned..
Oh..
.......I'm sorry..
......................am I being the "the repetitious know it all naysayer" again??
................................................................................ .............................My bad.. :laugh:
................................................................................ ...............................................What the he!! do I know anyway..:laugh:
Re: Checkout by Amazon Zen Cart Plug-in - Look Ma, No Dupes
In total agreement with you on this one. If this becomes available in more areas, I will caution clients that eventually they may be out on a limb. I checked with these folks and don't know how they are making money but they have some sort of arrangement with amazon. I think the original mod was actually created by amazon and not a contractor. Don't know what any of this means in the long run.
Re: Checkout by Amazon Zen Cart Plug-in - Look Ma, No Dupes
Quote:
Originally Posted by
delia
In total agreement with you on this one. If this becomes available in more areas, I will caution clients that eventually they may be out on a limb. I checked with these folks and don't know how they are making money but they have some sort of arrangement with amazon. I think the original mod was actually created by amazon and not a contractor. Don't know what any of this means in the long run.
Yep.. Knew Amazon created the original mod here.. They are the ones who abandoned the module (no announcement) and now hold Zen Cart responsible for their module if you inquire about it with them..
Re: Checkout by Amazon Zen Cart Plug-in - Look Ma, No Dupes
Quote:
Originally Posted by
DivaVocals
Yep.. Knew Amazon created the original mod here.. They are the ones who abandoned the module (no announcement) and now hold Zen Cart responsible for their module if you inquire about it with them..
There's only but so much over on the ZenCart side... But the Checkout by Amazon side, since it looks like they abandoned the development of the page. I can't do much else with it.
Re: Checkout by Amazon Zen Cart Plug-in - Look Ma, No Dupes
Quote:
Originally Posted by
retched
There's only but so much over on the ZenCart side... But the Checkout by Amazon side, since it looks like they abandoned the development of the page. I can't do much else with it.
And your posts/tips/code snippets were the closest thing to getting this thing working.. Alas without Amazon's support.. yeah.. **sigh**
Re: Checkout by Amazon Zen Cart Plug-in - Look Ma, No Dupes
One more CBA fix to add to anyone still striving - there's hope, it works fine for us now.
We were running into the dreaded "We're sorry, but..." message after login to Amazon. Our problem was that sometimes accented characters - greater than 127 ASCII - were in some product names. Amazon choked on these. To fix:
In button_generator.php, fix characters in the title:
Change:
$xmlBuilder->Element('Title', substr($item[name], 0, MAX_TITLE_LEN));
to:
$xmlBuilder->Element('Title', cleanupTextForAmazon(substr($item[name], 0, MAX_TITLE_LEN)));
Then use your favorite code to cleanup om cleanupTextForAmazon function at top of same module. My sledgehammer looks like this:
function cleanupTextForAmazon($text)
{
// First, replace UTF-8 characters.
$text = str_replace(
array("\xe2\x80\x98", "\xe2\x80\x99", "\xe2\x80\x9c", "\xe2\x80\x9d", "\xe2\x80\x93", "\xe2\x80\x94", "\xe2\x80\xa6"),
array("'", "'", '"', '"', '-', '--', '...'),
$text);
// Next, replace their Windows-1252 equivalents.
$text = str_replace(
array(chr(145), chr(146), chr(147), chr(148), chr(150), chr(151), chr(133)),
array("'", "'", '"', '"', '-', '--', '...'),
$text);
// Then fix accents
$text = strtr($text,'àáâãäçèéêëìíîïñòóôõöùúûüýÿÀÁÂÃÄÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝ','aaaaaceeeeiii inooooouuuuyyAAAAACEEEEIIIINOOOOOUUUUY');
// Now, get rid of all unprintable
$text = preg_replace( '/[^[:print:]]/', '',$text);
return $text; // squeaky clean for Amazon!
}
Re: Checkout by Amazon Zen Cart Plug-in - Look Ma, No Dupes
Oops, sorry forgot CODE tags...
One more CBA fix to add to anyone still striving - there's hope, it works fine for us now.
We were running into the dreaded "We're sorry, but..." message after login to Amazon. Our problem was that sometimes accented characters - greater than 127 ASCII - were in some product names. Amazon choked on these. To fix:
In button_generator.php, fix characters in the title:
Change:
Code:
$xmlBuilder->Element('Title', substr($item[name], 0, MAX_TITLE_LEN));
to:
Code:
$xmlBuilder->Element('Title', cleanupTextForAmazon(substr($item[name], 0, MAX_TITLE_LEN)));
Then use your favorite code to cleanup om cleanupTextForAmazon function at top of same module, outside the class. My sledgehammer looks like this:
Code:
function cleanupTextForAmazon($text)
{
// First, replace UTF-8 characters.
$text = str_replace(
array("\xe2\x80\x98", "\xe2\x80\x99", "\xe2\x80\x9c", "\xe2\x80\x9d", "\xe2\x80\x93", "\xe2\x80\x94", "\xe2\x80\xa6"),
array("'", "'", '"', '"', '-', '--', '...'),
$text);
// Next, replace their Windows-1252 equivalents.
$text = str_replace(
array(chr(145), chr(146), chr(147), chr(148), chr(150), chr(151), chr(133)),
array("'", "'", '"', '"', '-', '--', '...'),
$text);
// Then fix accents
$text = strtr($text,'àáâãäçèéêëìíîïñòóôõöùúûüýÿÀÁÂÃÄÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝ','aaaaaceeeeiiiinooooouuuuyyAAAAACEEEEIIIINOOOOOUUUUY');
// Now, get rid of all unprintable
$text = preg_replace( '/[^[:print:]]/', '',$text);
return $text; // squeaky clean for Amazon!
}
Re: Updated Checkout by Amazon Zen Cart Plug-in
Has anyone used the new Amazon "Login and Pay" with Zencart?
Re: Updated Checkout by Amazon Zen Cart Plug-in
I would recommend checking out the new Pay with Amazon module.
This thread has details of a beta testing pr
Re: Updated Checkout by Amazon Zen Cart Plug-in
I got a new nudge e-mail from Amazon, 8/12/2016 about; "Pay with Amazon". Anyone have any news of it working?