I am trying to incorporate ExpressCheckout with Paypal using Active Merchant and when I click on the express checkout button it takes me to the paypal site and gives me an error that says Invalid transaction error please use the ......
I notice that the error log does not generate a token at the time of sending the request and it looks something like this https://www.paypal.com/cgibin/webscr?cmd=_express-checkout&token= So i feel that the error lies there but I may be wrong. I have a setup a paypal account and a buyer seller accounts are in place. My Controller looks like this def express cart = find_cart price = cart.get_price_in_cents response= EXPRESS_GATEWAY.setup_purchase(price, {:ip=>request.remote_ip, :return_url=>new_orders_url, :cancel_return_url=>"http://localhost:3000/search/home"}) redirect_to EXPRESS_GATEWAY.redirect_url_for(response.token) end I would appreciate any kind of help with this. Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

