Jump to content

Issue with Amazon Payments & CakePHP


cytech

Recommended Posts

Hey All,

 

I'm working with Amazon's payment system and I have a 'success url' set for amazon that sends them to:

 

mydomain.com/transactions/receivetrans

 

That works just fine, when amazon sends the user back they give off tons of GET variables. One of them being the confirmation location for the security file:

https%3A%2F%2Ffps.sandbox.amazonaws.com%2Fcerts%2F090909%2FPKICert.pem

 

This throws my controller for a loop and I get:

Error:  403.shtmlController could not be found.

 

If I remove that particular link from the return manually the controller works great and shows the user a thank you message like it should.

 

Controller for that particular view:

function receivetrans()
{

}

 

Just a simple show a page and say thanks... Nothing crazy in there haha.

 

I'm not sure why the above variable would throw off cake, I'm assuming multiple / / but it's not like I can change how amazon sends their info. Any insight from a guru?? :)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.