Hi all,

When I click on button "Add to cart" all seem to work.
Message "Your article was added to your cart" appears, and button "Continue checkout" as well.

But when I click on button "Continue checkout" my cart is empty with this message :
"There are no items in your cart."

In admin logs console I found those different errors :

array_shift() [<a hreff='function.array-shift'>function.array-shift</a>]: The argument should be an array in /home/drupal/drupal/sites/all/modules/amazon_store/amazon_store.module on line 1447.
array_keys() [<a hreff='function.array-keys'>function.array-keys</a>]: The first argument should be an array in /home/drupal/drupal/sites/all/modules/amazon_store/amazon_store.module on line 1455.
Invalid argument supplied for foreach() in /home/drupal/drupal/sites/all/modules/amazon_store/amazon_store.module on line 1455.
call_user_func_array() [<a hreff='function.call-user-func-array'>function.call-user-func-array</a>]: First argument is expected to be a valid callback, '' was given in /home/drupal/drupal/includes/form.inc on line 366.

Thx for your help.

Comments

rfay’s picture

Status: Active » Closed (duplicate)

I believe this is a duplicate of #559916: Improve handling of items that are not available through Amazon API. Please check and make sure.

Amazon items which are kindle editions or downloadable cannot be added to the cart due to Amazon's API, and it doesn't give us a clue about this. I'll be looking for improving solutions.

srobert72’s picture

Component: Code » Documentation
Status: Closed (duplicate) » Postponed

I found another issue on my site.
capcha and mollom modules didn't work anymore. After research I found it's due to no_anon module.
I've not checked this yet, but I think issue with Amazon Store Cart has same cause.

So I think it just would be mentionned in documentation not to cumulate amazon_store and no_anon modules.

rfay’s picture

Title: Error clicking "Add to cart" » Amazon Store module incompatible with no_anon
Status: Postponed » Fixed

You cannot use the No Anonymous Sessions module with Amazon Store because Amazon Store relies on $_SESSION.

rfay’s picture

Title: Amazon Store module incompatible with no_anon » Amazon Store module incompatible with no_anon (No Anonymous Sessions) module
rfay’s picture

Status: Fixed » Closed (won't fix)