Zen Cart Logo
Forums / Addon Payment Modules / Checkout by Amazon Zen Cart Plug-in

Checkout by Amazon Zen Cart Plug-in

Views: 135,580

Results 21 to 40 of 350
28 Aug 2010, 6:14 AM
#21
amazonpayments avatar

amazonpayments

New Zenner

Join Date:
Oct 2009
Posts:
52
Plugin Contributions:
0

Checkout by Amazon Zen Cart Plug-in

luxurylives:

OK I need some serious help here. I know where to put all of the files in the Includes folder. The problem is where in the world do I put all the files in the Checkout by Amazon folder.

In that folder it's sub folders are images, modules, logs and library. And it also has php files. Please help.

I am on the current version of Zen also

place the checkout_by_amazon folder and checkout_by_amazon.php in the same place where your index.php from zencart is installed.

29 Aug 2010, 7:05 AM
#22
chaos_factor avatar

chaos_factor

New Zenner

Join Date:
Sep 2008
Posts:
47
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

When I ran ZC 1.3.8a and Amazon Checkout I didn't have a problem. The new cart (1.3.9f) with AC is a different problem.(The problem is one I had with Google Checkout on 1.3.8a though.)

When I enable AC, the actual cart shifts to the right, knocks the right sidebox column into oblivion and shifts some of the column images up. The other payment modules work fine...it's just AC. The AC button images don't show so actually using AC is impossible.

Any ideas where the problem may be?

29 Aug 2010, 8:42 AM
#23
chaos_factor avatar

chaos_factor

New Zenner

Join Date:
Sep 2008
Posts:
47
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Well I figured it out about 2 mins after I posted the proble. (Maybe I should just post things as soon as I have a problem. I seem to have a habit of figuring out most problems within 5 mins of posting. Think of the time I could save!! LOL)

But now I have this message when I try the module out:

Important Message

We're sorry, but there's a problem with this order. Please contact the merchant directly for assistance in completing this order.

This may have already been addressed, but I figured I'd post it before I started digging.

29 Aug 2010, 11:38 PM
#24
chaos_factor avatar

chaos_factor

New Zenner

Join Date:
Sep 2008
Posts:
47
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Got the images back where they belong, added the module, set it up according to instructions and did a test drive.

:oops:

Something isn't right. Turned off the other payment modules to see if it may be a conflict. Nope.

Not sure where the problem is but this is what I see when I go to the shopping cart with a test purchase:

cartId:72483 2010-08-30T05:20:46Z 193 (Merchant ID--removed by ME!) <br /><br /><br /><br /><br /><br /><div style="text-align: justify;"> A splendid and delicious combination of ambrosia fruit salad topped with creamy raspberry sorbet. The bursting of succulent berries and zesty citrus from the ambrosia is combined with a creamy blend of fresh red raspberries to create a most delectable fragrance. After experiencing this powerful fragrance, you will understand why ambrosia was the food of the Greek gods.<br /><br />These distinctive candles can be enjoyed for their exquisite aromas or used to enhance the decor of any room. They are hand-poured and made with an exclusive blend of natural waxes - primarily soy wax with a small addition of beeswax. This combination of waxes provides a very long burn time, while maintaining all the great advantages you expect from a clean burning and environmentally friendly soy candle. Burn Time: 270 to 300 hours<br />Soy pillar candle is 3in. diameter and 9in. high <br /><br /><br /></div> 25.75 USD 1 Candles, Tarts, Warmers MERCHANT 879291009210 68.113.108.81 O:12:"shoppingcart":8:{s:8:"contents";a:1:{i:193;a:1:{s:3:"qty";d:1;}}s:5:"total";d:25.75;s:6:"weight";d:0;s:6:"cartID";s:5:"72483";s:12:"content_type";s:8:"physical";s:18:"free_shipping_item";i:0;s:20:"free_shipping_weight";i:0;s:19:"free_shipping_price";i:0;} A1JTR13ML1DA21 CBAZencart1.0 https://crystabellas.com/checkout_by_amazon.php?action=ResetCart https://crystabellas.com/checkout_by_amazon.php?action=CancelCart

Bet you can't guess what I placed in the cart!!

If I enable the signing options, it shows my AWS ID and Key.

Any help would be appreciated.

Seems that GC gave me a similar problem on 1.3.8e. Will hunt later. I've been trying to get CBA to work for 5 hours now and it has given me a flippin' headache. One day I will learn to take breaks from this stuff....maybe!!

31 Aug 2010, 12:48 AM
#25
ella33 avatar

ella33

New Zenner

Join Date:
Oct 2008
Posts:
21
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Amazon installed just fine on my site but when I go to checkout I get the error: "We're sorry, but we're currently having problems retrieving order details from the merchant, and cannot process your order. Please return to the merchant's website and try placing your order again. "

I noticed someone had this issue earlier and corrected it with a change in the php.ini, but mine is already set to allow_call_time_pass_reference = true.

Any ideas?

31 Aug 2010, 9:11 AM
#26
chaos_factor avatar

chaos_factor

New Zenner

Join Date:
Sep 2008
Posts:
47
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Made a fresh install of ZC and then added only CBA module. Thought maybe some of the other modules were causing the problem, but no such luck. CBA just doesn't want to play nice with ZC1.3.9f

Since I can find the problem, I will uninstall the mod. Don't have a load of time to play with it. PP, AP, RME and GC should be enough options for now. Hopefully someone can give me heads up as to why it keeps having this problems.

cartId:72483 2010-08-30T05:20:46Z 193 (Merchant ID--removed by ME!) <br /><br /><br /><br /><br /><br /><div style="text-align: justify;"> A splendid and delicious combination of ambrosia fruit salad topped with creamy raspberry sorbet. The bursting of succulent berries and zesty citrus from the ambrosia is combined with a creamy blend of fresh red raspberries to create a most delectable fragrance. After experiencing this powerful fragrance, you will understand why ambrosia was the food of the Greek gods.<br /><br />These distinctive candles can be enjoyed for their exquisite aromas or used to enhance the decor of any room. They are hand-poured and made with an exclusive blend of natural waxes - primarily soy wax with a small addition of beeswax. This combination of waxes provides a very long burn time, while maintaining all the great advantages you expect from a clean burning and environmentally friendly soy candle. Burn Time: 270 to 300 hours<br />Soy pillar candle is 3in. diameter and 9in. high <br /><br /><br /></div> 25.75 USD 1 Candles, Tarts, Warmers MERCHANT 879291009210 68.113.108.81 O:12:"shoppingcart":8:{s:8:"contents";a:1:{i:193;a:1:{s:3:"qty";d:1;}}s:5:"total ";d:25.75;s:6:"weight";d:0;s:6:"cartID";s:5:"72483";s:12:"content_type";s:8:"phy sical";s:18:"free_shipping_item";i:0;s:20:"free_shipping_weight";i:0;s:19:"free_ shipping_price";i:0;} A1JTR13ML1DA21 CBAZencart1.0 https://crystabellas.com/checkout_by...tion=ResetCart https://crystabellas.com/checkout_by...ion=CancelCart

This is on the shopping cart page right above the Amazon checkout buttons.

31 Aug 2010, 10:50 AM
#27
amazonpayments avatar

amazonpayments

New Zenner

Join Date:
Oct 2009
Posts:
52
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

Chaos Factor:

Made a fresh install of ZC and then added only CBA module. Thought maybe some of the other modules were causing the problem, but no such luck. CBA just doesn't want to play nice with ZC1.3.9f

Since I can find the problem, I will uninstall the mod. Don't have a load of time to play with it. PP, AP, RME and GC should be enough options for now. Hopefully someone can give me heads up as to why it keeps having this problems.

This is on the shopping cart page right above the Amazon checkout buttons.

Have you turned off the troubleshooting? I checked your site as given in the logs. https://crystabellas.com. It says it is down for maintenance. can you enable it to check?

  • Amazon Payments
31 Aug 2010, 10:55 AM
#28
amazonpayments avatar

amazonpayments

New Zenner

Join Date:
Oct 2009
Posts:
52
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

ella33:

Amazon installed just fine on my site but when I go to checkout I get the error: "We're sorry, but we're currently having problems retrieving order details from the merchant, and cannot process your order. Please return to the merchant's website and try placing your order again. "

I noticed someone had this issue earlier and corrected it with a change in the php.ini, but mine is already set to allow_call_time_pass_reference = true.

Any ideas?

Hi,

can you look for the errors in the error console in Seller Central? It is under Integration tab.

31 Aug 2010, 11:43 AM
#29
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
520
Plugin Contributions:
2

Re: Checkout by Amazon Zen Cart Plug-in

Still waiting on an answer from my previous post?

31 Aug 2010, 1:10 PM
#30
amazonpayments avatar

amazonpayments

New Zenner

Join Date:
Oct 2009
Posts:
52
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

marcopolo:

I see now where the buttons are, you have to just click on the order, using the details button they do not show on my end however that just may be because of custom modifications I have done to that page.

How can we fix the security warning issue?

On the details page shipping now shows on zen cart side (after I changed code you mentioned above) as:

Shipping - UPS Ground - 7.43: 7.43

How can I have it only say just: ** UPS Ground**
**Shipping **- UPS Ground - 7.43:
what is in bold is not needed price is populated twice one in the name colum and another is it's own colum, I ask becasue this prints on my invoices and does not look good.

And finally I have cron jobs move my orders around automatically as they go from processing to shipped, I'm assuming something custom can be programmed to do this without acually having to press those action buttons right? Where is the code that must be called to change order status if I program something custom?

** sites that get many orders will have an issue with this if that is the case.

  1. Security warning issue - we are looking into it
  2. You can change that value while the order in zencart system being created by createOrders method in amazonorder.php file. you can search for** $shipping_label **variable and modify it to suit your needs
  3. Processing orders using zencart is a manual step. once order moves to pending status(Amazon status), confirm shipment button will appear. You are required to fill in Tracking ID, Shipping service providers etc and then click the confirm shipment. once you press the button, it inserts an entry to the order history table with a processing status. it follows the work flow model as the order update in amazon takes time. your configured cron job polls amazon servers and updates the order history table.
    Not sure how you can automate this using the script suiting your purpose.
31 Aug 2010, 1:35 PM
#31
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
520
Plugin Contributions:
2

Re: Checkout by Amazon Zen Cart Plug-in

Thank you for the answers, I would like to discuss to the automated part more.

I update my order status(s) by a custom file and do not have to manually change them from within Zen Cart. The cron job I stated only executes this custom script.

My question is whatever is required to enter for the Amazon orders module will have to be integrated into this script and I will have the person that wrote this script handle that for me.

I just want to confirm with you before I started to have this script modified that this is possible? I assume it is…but would like any feedback you may have!

31 Aug 2010, 1:46 PM
#32
amazonpayments avatar

amazonpayments

New Zenner

Join Date:
Oct 2009
Posts:
52
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

marcopolo:

Thank you for the answers, I would like to discuss to the automated part more.

I update my order status(s) by a custom file and do not have to manually change them from within Zen Cart. The cron job I stated only executes this custom script.

My question is whatever is required to enter for the Amazon orders module will have to be integrated into this script and I will have the person that wrote this script handle that for me.

I just want to confirm with you before I started to have this script modified that this is possible? I assume it is…but would like any feedback you may have!

It should be possible if a developer can understand the order workflow in zencart and Amazon.

HERE ARE THE STEPS WHICH I CANNOT GUARANTEE, BUT YOU CAN TRY

  1. you can add an row into amazon_orders_history so that the cron job in the plugin will automatically pick and update that row.
  2. Make sure your scripts enters all the details as required in the UI.
  3. the cron job file in plugin updates the zencart status for that order. hope you mapped the zencart order statuses to amazon status in the plugin settings page.
    CONFIGURING THIS IN A BAD MANNER WILL RESULT IN INAPPROPRIATE DISPLAY OF AMAZON ORDER HISTORY.

Before trying out with the script, i would request you to manually test the confirm shipping, cancel order, refund order etc in production. This will help to understand what kind of entry the plugin makes into the amazon tables.

31 Aug 2010, 6:15 PM
#33
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
520
Plugin Contributions:
2

Re: Checkout by Amazon Zen Cart Plug-in

Ok I'm working on stripping the $shipping_label and I was aple to remove some of what I needed to remove however it is still being imported to zen cart as follows:

UPS Ground - 8.43 8.43

I need to strip the first **8.43 **it should not be in the same cell as the shipping name. From what I see it is being called in from file: checkout_by_amazon/modules/order/IOPNXMLParser.php and looks to be imported like that from Amazon?

31 Aug 2010, 6:33 PM
#34
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
520
Plugin Contributions:
2

Re: Checkout by Amazon Zen Cart Plug-in

Another question I thought I read that the promotions is linked with Zencart coupons? If it is I just tried a test order using a coupon that I have active in my system and Amazon said it was not valid?

1 Sep 2010, 3:38 AM
#35
ella33 avatar

ella33

New Zenner

Join Date:
Oct 2008
Posts:
21
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

I realize this may be a really dumb question but, do you need to have a ssl cert to get this mod to work correctly?

1 Sep 2010, 4:35 AM
#36
amazonpayments avatar

amazonpayments

New Zenner

Join Date:
Oct 2009
Posts:
52
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

ella33:

I realize this may be a really dumb question but, do you need to have a ssl cert to get this mod to work correctly?

Yes, If you want to get the instant order notifications when buyer places the order. This updates the inventory too.
Yes, if you want to use Callback functionality to calculate tax, shipping using the information from your zencart site.

If you do not require instant order notifications, then orders are updated via MFA reports generated in seller central which takes 30-60 minutes. Order reports are generated every hour which is configurable.

1 Sep 2010, 4:42 AM
#37
amazonpayments avatar

amazonpayments

New Zenner

Join Date:
Oct 2009
Posts:
52
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

marcopolo:

Ok I'm working on stripping the $shipping_label and I was aple to remove some of what I needed to remove however it is still being imported to zen cart as follows:

UPS Ground - 8.43 8.43

I need to strip the first **8.43 **it should not be in the same cell as the shipping name. From what I see it is being called in from file: checkout_by_amazon/modules/order/IOPNXMLParser.php and looks to be imported like that from Amazon?

The values are sent via callback. It is sent in the format
Shipping module id - Shipping Option - Shipping Rate
so that it can be identified at zencart.
Now that you do not need shipping module id, you have removed it as stated earlier. If you do not want shipping rate, you can either remove from callback functionality (buyer wont be able to see the shipping charge while selecting it) or remove while order being created.

marcopolo:

Another question I thought I read that the promotions is linked with Zencart coupons? If it is I just tried a test order using a coupon that I have active in my system and Amazon said it was not valid?

Promotions are not linked with zencart coupons. Promotions can be used only by creating them in Seller Central. They will be populated in Order detail page. Zencart coupons at the checkout pipeline is not supported at this point of time.

1 Sep 2010, 2:26 PM
#38
ella33 avatar

ella33

New Zenner

Join Date:
Oct 2008
Posts:
21
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

So this is where I am at and need some help. The orders go through fine but I always get returned to a page on my website saying Page Not Found. I had it set originally to: http://www.xxxx.com/checkout_by_amazon.php and had it set that way on both zencart and amazon checkout. I double checked to make sure the page does exist and it does. I changed it to http://www.xxx.com and that did not work either. I left all the return fields blank and that did not work. Help?

1 Sep 2010, 2:33 PM
#39
amazonpayments avatar

amazonpayments

New Zenner

Join Date:
Oct 2009
Posts:
52
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

ella33:

So this is where I am at and need some help. The orders go through fine but I always get returned to a page on my website saying Page Not Found. I had it set originally to: http://www.xxxx.com/checkout_by_amazon.php and had it set that way on both zencart and amazon checkout. I double checked to make sure the page does exist and it does. I changed it to http://www.xxx.com and that did not work either. I left all the return fields blank and that did not work. Help?

Check whether the return URL (where you are seeing page not found) has the HTTPS URL pointing to payments.amazon.com.

if yes, check http://www.zen-cart.com/forum/showthread.php?t=162118#5 for solution.

1 Sep 2010, 11:02 PM
#40
chaos_factor avatar

chaos_factor

New Zenner

Join Date:
Sep 2008
Posts:
47
Plugin Contributions:
0

Re: Checkout by Amazon Zen Cart Plug-in

AmazonPayments:

Have you turned off the troubleshooting? I checked your site as given in the logs. https://crystabellas.com. It says it is down for maintenance. can you enable it to check?

  • Amazon Payments

Wow......I don't have CBA installed any longer. I've tried 4 installs of ZC and tried CBA on 2 of them. I messed around trying to figure where and what the problem could be. So far nothing. ( Since I am doing a DB upgrade each time, I was leaning towards that being the problem. But then who knows. GC can be a right pain even on a good day and it seems to work without a hitch.)

I will let you know when I reinstall it.

Thanks