Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Setting up CS-Cart with Amazon Checkout? Rate Topic   - - - - -

 
  • Tim Hensel
  • Junior Member
  • Members
  • Join Date: 01-Mar 11
  • 237 posts

Posted 19 March 2012 - 04:13 PM #1

Hi All!
I am thinking of using Amazon Checkout as an extra checkout option in my store.
For configuring I did read this:
http://kb2.cs-cart.c...azon-checkout#3

However on the Amazon Checkout Pipeline settings, do I need to use these URLs?

Successful Payment Return URL:


Cancel Payment Return URL:


Your Account Return URL:


Integrator URL:


Amazon_Checkout_Pipeline_Setting.jpg



Do I need to set up these URLs with Amazon Checkout? I am not sure how exactly the Amazon checkout works with the cart and the only URL given by the CS-Cart is the Merchant URL.

And if you do already use the Amazon Checkout, does it work fairly well with CS-Cart 2.2.4?

Thanks!
-Tim
- CS-Cart 2.2.5 Pro Store -

 
  • Tim Hensel
  • Junior Member
  • Members
  • Join Date: 01-Mar 11
  • 237 posts

Posted 19 March 2012 - 04:24 PM #2

Just to add...

After testing with the sandbox it seems okay operationally ... however upon the return back to the store after the order/payment was made I got sandbagged by the Amazon Sandbox with this link and error:
http://www.jammaboar...i/sdui/overview


404

Page Not Found


The page you have requested cannot be found.


-Tim
- CS-Cart 2.2.5 Pro Store -

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4916 posts

Posted 19 March 2012 - 05:56 PM #3

Flow has got this set up OK I think check with him

JOhn

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 2394 posts

Posted 19 March 2012 - 06:37 PM #4

Are you in Europe or USA? It should work OK in the US.. Europe it was not working at all..... we spend a lot of time and money on it to get it to work.

When life hands you lemons, bring on the Tequila baby!


 
  • Tim Hensel
  • Junior Member
  • Members
  • Join Date: 01-Mar 11
  • 237 posts

Posted 19 March 2012 - 08:48 PM #5

Are you in Europe or USA? It should work OK in the US.. Europe it was not working at all..... we spend a lot of time and money on it to get it to work.


I'm in the USA.
The actual interface when checking out works good it seems ... but the return URL is wrong? The full link is above but it starts with:
http://www.jammaboar...tore/index.php?
which I assume should be http://www.jammaboar...tore/index.php?

It is putting the extra "//store"
in the URL.

That is why I am not sure if I need to specify a certain URL in these Pipeline URL's or leave them blank?

Successful Payment Return URL:
Cancel Payment Return URL:
Your Account Return URL:
Integrator URL:


Thanks!

-Tim
- CS-Cart 2.2.5 Pro Store -

 
  • Tim Hensel
  • Junior Member
  • Members
  • Join Date: 01-Mar 11
  • 237 posts

Posted 21 March 2012 - 03:07 PM #6

I also have a ticket open with support and unfortunately I am getting another bad support experience starting. So far I was charge 10 support credits and they are the support person states it is the third party add-on (Amazon Payments) causing the problem. Isn't the Amazon Checkout option part of and included with the CS-Cart professional package?

Is not this amazon_checkout.php file (header shown below) part of CS-Cart or is this a third party add-on???? :shock:

/***************************************************************************
*                                                                          *
*   (c) 2004 Vladimir V. Kalynyak, Alexey V. Vinokurov, Ilya M. Shalnev    *
*                                                                          *
* This  is  commercial  software,  only  users  who have purchased a valid *
* license  and  accept  to the terms of the  License Agreement can install *
* and use this program.                                                    *
*                                                                          *
****************************************************************************
* PLEASE READ THE FULL TEXT  OF THE SOFTWARE  LICENSE   AGREEMENT  IN  THE *
* "copyright.txt" FILE PROVIDED WITH THIS DISTRIBUTION PACKAGE.            *
****************************************************************************/


Anyhow, the support person added 4 statements into the amazon_checkout.php file:
Line 47 this was added: define('AREA', 'A');
Line 59 this was added: define('AREA', 'C');
Line 135 this was added: define('AREA', 'A');
Line 140 this was added: define('AREA', 'C');

Unfortunately this did not do anything as the Amazon checkout still returns to the bad URL. :-(


It is so aggravating as now I have to wait 24 hours before the support person will reply again with another 'hopeful' solution. And to get charged more credits possibly for another 'hmmm ... try this' type of solution.


-Tim
- CS-Cart 2.2.5 Pro Store -

 
  • pbannette
  • Senior Member
  • Members
  • Join Date: 09-Aug 07
  • 1036 posts

Posted 21 March 2012 - 04:05 PM #7

I had my store's URL as the successful payment return url. After upgrading to 2.2.4, Amazon worked fine. Stopped working a few days later after receiving several successful orders. Now, the order is successful in Amazon, but the customer is directed to the checkout.checkout page. I submitted a bug and submitted a ticket. In the mean time, I stopped using Amazon checkout
Bob.

Version CS-Cart 4.3.5


 
  • Tim Hensel
  • Junior Member
  • Members
  • Join Date: 01-Mar 11
  • 237 posts

Posted 21 March 2012 - 06:54 PM #8

Hi Bob,
Actually since at one time it was working ... How exactly does the Amazon Checkout work?

What I mean is once your have the items in your cart, click the Amazon Checkout button, and then make the payment successfully on the Amazon box....After this is done, does Amazon transfer that order information into the CS-Cart?? Or does this new order only exist at the Amazon website now?

-Tim
- CS-Cart 2.2.5 Pro Store -

 
  • pbannette
  • Senior Member
  • Members
  • Join Date: 09-Aug 07
  • 1036 posts

Posted 21 March 2012 - 08:47 PM #9

Tim,
What happens is a person orders using Amazon Checkout. Selects Address, Shipping method (now working, based on same choices as cs-cart) and method of payment. When this happens a CS-CART invoice is created and is in the status of incomplete.. Some time later, maybe 10 minutes, the CS-Cart order changes to Received (This is how I name Processed). I get the purchase notification from CS-Cart and very shortly after, I get another email from Amazon that says "Your Checkout by Amazon sale is official!"
The order is in CS-CART and Amazon, and you have to go to Amazon seller central when shipped and update the order in order to get paid from Amazon. In cs-cart, its like any other order. The invoice is updated with an Amazon reference number.

My problem now is that when the customer submits the order to Amazon they are taken directly to the checkout.checkout page. If they do nothing, then the order just processes as above. The way I found out about the problem is that a customer, after going to the checkout.checkout page, where at the top a message says "processing" and then "order cancelled" (not really!) she then continued and then purchased the same order with a credit card and ended up with two orders.
This worked out good, because she decided to to buy two of the item anyway. I just processed the Amazon order and shipped two items. Got paid from Amazon and by Credit card.
I was able to recreate the problem 4 times and decided its not worth pursuing and just turned off Amazon Payments. CS-CART does not have time to look at it now. I put in a bug report since I do not customize the cart and feel its a CS-Cart problem.
Bob

Version CS-Cart 4.3.5


 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 2394 posts

Posted 22 March 2012 - 12:22 PM #10

the problem is that amazon payments does not immediately say the order has been processed. As you say it's first incomplete for a couple of minutes so cs-cart says the order is cancelled even though it's not.

I solved this by making a seperate landing page for amazon that people get after paying with amazon. Alt-team (who fixed the entire payment module for europe for me) came up with this idea and it works brilliantly.

It shouldn't be too hard to only do this redirect since you guys have the payment module working already.

When life hands you lemons, bring on the Tequila baby!


 
  • Tim Hensel
  • Junior Member
  • Members
  • Join Date: 01-Mar 11
  • 237 posts

Posted 22 March 2012 - 11:50 PM #11

Hi Flow,
That is a great idea of a separate landing page for the Amazon Checkout.

Hi pbannette,
I'm still thrown by how the order actually gets inserted into the CS-Cart... probably since I cannot see it happened since the return URL is messed up. And who knows when it will be fixed...I'm stuck with the 'slow' support tech again. The one that just sayes 'I made a code changes ... try it and let me know if it works.' :shock: What!!?!?! You tossed in some code changes but do not even both to test what you just did??!? :shock: And now with perfect fashion with this individual, taking 24 hours to respond back to my 'That did not do anything to fix the problem' message (since I have to test it since their support person does not feel they need to I suppose). Only to get a return response of 'Sorry but we are extremely busy today and I can review your ticket again tomorrow' .... again :shock: What?!?! Jeez just give me my 10 support credits back and I will try to find someone else that can fix it. :confused:

Only if I could request to only receive paid support from 'Anastasiya Kozlova' ... This CS-Cart support person is absolutely wonderful! They would never just toss some untested code into the online store then tell me to try it and see if it works. Anastasiya Kozlova would test the new code themselves to see if that fixed the problem and if not they would continue to work until the problem is found. In fact I would pay double credit cost for support it I would only be sure to get the help of Anastasiya Kozlova.

This other support person .. geez it's three days now since the ticket was submitted and I'm still without any fix and out 10 credits already. Horrible.

Sorry .. rant over. :neutral:

-Tim
- CS-Cart 2.2.5 Pro Store -

 
  • parodius420
  • Senior Member
  • Members
  • Join Date: 03-Dec 11
  • 614 posts

Posted 26 April 2012 - 12:48 AM #12

As soon as I setup everything in CS cart, I get this message once someone puts an item in the cart, clicks checkout with amazon, and enters their amazon user id/pass:

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.

 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 2394 posts

Posted 26 April 2012 - 09:25 AM #13

As soon as I setup everything in CS cart, I get this message once someone puts an item in the cart, clicks checkout with amazon, and enters their amazon user id/pass:

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.


There is probably something wrong in your setup.

When life hands you lemons, bring on the Tequila baby!


 
  • plinkplink
  • Member
  • Members
  • Join Date: 25-Apr 10
  • 156 posts

Posted 13 September 2012 - 08:42 PM #14

Hey Flow,

You say you've got a special landing page for Amazon, I don't get it.

When the user clicks "pay" in the Amazon window, it sends the order information to

https://www.YOURSTE.com/payments/amazon/amazon_callback.php

And that's how the CS-Cart receives and process the order, right?

Is the browser redirect located in that file? Where and how do you redirect?

Did you just put a special URL in the Amazon Checkout Pipeline Settings?

I've almost got it working. I just need this last step....
My site: 3-Ring Binders and Organization at UniKeep.com.

 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 2394 posts

Posted 14 September 2012 - 08:22 AM #15

Hey, I'd love to help you out more but am traveling in a couple of hours and only had a minute to check. I'm pretty sure the redirect is in amazon_checkout.php though around line 48:


// If order was placed successfully, associate the order with this customer
if (!empty($order_id)) {
  $auth['order_ids'][] = $order_id;

  fn_order_placement_routines($order_id, false);

  $redirect_url = fn_url('checkout.complete?order_id=' . $order_id);
} else {
  fn_set_notification('E', fn_get_lang_var('error'), fn_get_lang_var('text_amazon_failed_order'));
  $redirect_url = fn_url('checkout.cart');
}

fn_redirect($redirect_url, true);


In Amazon I have:

Successful Payment Return URL: http://myshopsdomain.com
Cancel Payment Return URL:http://myshopsdomain.com
Your Account Return URL:http://myshopsdomain.com
Integrator URL: http://myshopsdomain.com//payments/amazon/amazon_callback.php

Hope this helps!

When life hands you lemons, bring on the Tequila baby!


 
  • plinkplink
  • Member
  • Members
  • Join Date: 25-Apr 10
  • 156 posts

Posted 14 September 2012 - 02:30 PM #16

Awesome, thanks. I got it to work, almost. It now creates two duplicate orders and sends two duplicate confirmation emails to the customer.

Why won't thins thing just WORK?
My site: 3-Ring Binders and Organization at UniKeep.com.

 
  • pbannette
  • Senior Member
  • Members
  • Join Date: 09-Aug 07
  • 1036 posts

Posted 14 September 2012 - 09:47 PM #17

Hi,
I have not been able to get Amazon payments to work for a year.
I just tested tonight after about 8 months of inactivating it.
When I place a test order, I am directed to Amazon to complete the order., but then I am directed to the checkout.checkout page, says placing order (after it was already placed at amazon) then says transaction canceled by customer.
I end up with an incomplete order in the CS-Cart Admin (with correct shipping and taxes) and with an Amazon Transaction Id, a receipt from Amazon for the order, no taxes (should be) and incorrect shipping amount. Amazon invoice does not equal CS-Cart invoice.
I don't see the order in my Amazon order page, so I don't know if my credit card on the test order was charged or not. I was going to cancel it, but its not there.
I thought upgrading to 2.2.4 in February may have fixed it, but it did not.
Will try again after upgrading to 3.x a see what happens.
Bob

Update: The order went from incomplete to complete and order was finalized while I was typing this.
The amounts are still wrong. The taxes and shipping is still wrong in Amazon.
Still can't use it. It almost works!

Edited by pbannette, 14 September 2012 - 09:52 PM.

Version CS-Cart 4.3.5


 
  • pbannette
  • Senior Member
  • Members
  • Join Date: 09-Aug 07
  • 1036 posts

Posted 09 November 2012 - 11:43 PM #18

Flow,
I still can't get this to work. People are directed to checkout.checkout page after a successful order.
Does not matter what return link or even no return link at Amazon Pipeline settings.

In CS Cart Amazon Settings, what does Process order on callback failure Yes/No mean?

I thought that Integrator URL is for "The Integrator URL is the URL of your Integration service provider where you want the notifications to be sent as the orders are processed. You can set this URL if you are using a third-party integration service provider to manage your orders. You can ask your integration service provider to give you the URL to receive notifications. If you leave this blank, your integration service provider will not receive notifications."

Do you really need this? Not in Knowledge Base for CS-CART to do this.

I did put in a bug report, but did not get a response yet. I can get orders, but people are confused when the go to the checkout.checkout page after a successful order. They think they have to order again and order was cancelled. Had to remove Amazon Payments again.
Thanks,
Bob

Version CS-Cart 4.3.5


 

Posted 10 December 2012 - 05:14 AM #19

I'd like to know if we need to fill out the "Integrator URL" field on Amazon as well. If so, what do we put in it?

 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 2394 posts

Posted 15 December 2012 - 04:01 PM #20

I sent cs-cart our fixed and working plugin for amazon checkout. I hope they will implement it in the new version.

When life hands you lemons, bring on the Tequila baby!