RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: rwheadon
I think the reason it didn't work is because you changed :cmd => "_cart" to :cmd => "_xclick"
Just put it back the way Ryan had it for the model, only the view that has the "encrypted" hidden field will need a "cmd" hidden field paired with it ... the value of which should be "_s-xclick"
So the problem wasn't merge, the problem was the wrong command in the encrypted payload and paypal didn't know what you wanted to have done.
No, when you register for sandbox you will get an email/id generated just for the sandbox. You will need to log in with your regular paypal account and goto the developer section and manage your accounts. Change password for the manager / business account and then login to http://www.sandbox.paypal.com using that special email and password.
It will look just like production without being production. There are different certificate stores for sandbox and production.
Just wondering, being pretty old... is this railscast still viable or is there another tool we should be looking at?
An update to this railscast to help write better cucumber scripts would be a welcome step forward.
I'm also having an issue with my model that contains a has_many :through association.
It would be nice to see this approached in the video... though that might be asking too much in your scope of the tutorial.
EDIT: I actually don't have a problem with my has_many :through... it works fine. I found that my coffescript had its indents wrong and was throwing an error. Once the coffeescript was fixed everything works like a charm.
thanks for your good work!