Jump to content

Amazon Simple Pay not working


Recommended Posts

I have set-up the PrestaShop Module, Amazon Simple Pay (http://addons.prestashop.com/en/modules-prestashop/5315-amazon-simple-pay.html) and updated our Amazon account to generate MWS Keys. I pasted those keys into the module settings. Now when you go to the cart, follow steps, then select the Pay By Amazon button, I get this error…

 

Invalid Request

Error Message: Invalid AccessKey

 

Any reason this is not working? I did try to contact developer, but that does not work.

 

This is for the website www.acmelectronics.com You can walk through the steps and see?

Edited by acmetcetera (see edit history)
Link to comment
Share on other sites

  • 2 months later...

Amazon Simple Pay - Not working after second transaction

 

I am facing troubles with this module, the payment was processed at amazon side, but I am not receiving confirmation at tiendamerica.com side.

 

I received an email from amazon, and a confirmation order by email from prestashop, but I don't have the order in back office, neither invoice. 

 

Can someone help me?

 

tiendamerica.com/shop

Edited by [email protected] (see edit history)
Link to comment
Share on other sites

  • 1 month later...
  • 8 months later...

Apologizing to revive such an old thread but it looks like this has not been solved yet. I purchased this module at the beginning of this year and finally now trying to get my store up and running.

 

As for anyone having trouble with the first issue getting an Invalid Access Key, the new MWS keys are not the right ones. The way Amazon has their services set up is very confusing.

 

  1. To get your Access ID and Secret Key you need to sign up with Amazon Web Services (https://aws.amazon.com/) and login
  2. Then click on Security Credentials, a popup with show and click Continue to Security Credentials to continue
  3. Click the + Access Keys (Access Key ID and Secret Access Key)
  4. Lastly click Create New Access Key and copy this information into the modules configuration.

 

This solves the invalid access key error however orders are still not recorded by PrestaShop.

 

 

Once the payment has been completed on Amazon's side the website is sent to https://yoursite.com/modules/amazonsimplepay/redirect.php with all the order information attached;

 

Example URI after payment has been completed:

 

https://yoursite.com/moldules/amazonsimplepay/redirect.php?paymentReason=Your+order+on+Demo+Store&transactionAmount=USD+1.00&signatureMethod=RSA-SHA1&transactionId=&status=PS&buyerEmail=customer%40mysite.com&referenceId=5&recipientEmail=buyer%40yoursite.com&transactionDate=1409772795&buyerName=Sandbox+Customer&operation=pay&recipientName=Your+Company+Name&signatureVersion=2&signature=%sBWXBh%K2%yFBiWYFNAywglCSd%sTgVhZt1FjFDFos3iKde4WDmjLcHOWaLY%gF0izBfvDHvOkiEY65X69rncLpLUK%%lS3fSvHskhhOpfG2V%4intQqZq5CTbOwxGqONb2OXxe9FEmHiClfvRABD%L7zMslPO%%ROBOBInpzv%AsFA7vNVPJ%B8S2FSZtN588sLaLkrjLDE730rSQ80DWBYZdstcCoFBVH9829RUNKgzUXHFeKFfAxoZK3Lts21j2DC7NQQ2sucADrm2O22PS4XffB1L0G3P%3ckqsPcUhjF02DFGRgnihQ3SU2VeK%a%hgAF%fXuAmdH0bQclSQYzrlUDf2Ktys2wl6212xZ23F%EM9kfhHe9v%M18ok7dv&paymentMethod=Credit+Card&certificateUrl=https%3A%2F%2Ffps.sandbox.amazonaws.com%2Fcerts%2F040714%2FPKICert.pem%3FrequestId%3Dziz8c0ojioyoer9mj05ger9sk34cgydyfztbsgmp95l83ji8aqr

 

 

The redirect.php immediately redirects to whatever the Redirect URL is set to in the module configuration, https://yoursite.com/order-confirmation.php by default. This then redirects to order-history which is empty. It seems Amazon is passing information after the payment is finished but the module isn't properly storing it. I have tried the module in both Sandbox and Production modes.

 

Any tips or hints as to how PrestaShop retrieves and stores data from payment gateways after an order? I have submitted a support request and so far have not gotten a response from PrestaShop about this issue.

Link to comment
Share on other sites

  • 8 months later...
  • 2 months later...
×
×
  • Create New...