Active Mehcant + Transaction is invalid?

Hi,

I have followed Cody F.'s tutorial ‘PayPal Express Payments with
ActiveMerchant’
[http://www.codyfauser.com/2008/1/17/paypal-express-payments-with-activemerchant]
and its working fine for me in my local system. But when I try to move
the code in my server, the code is not working.I get the following
error:
"This transaction is invalid. Please return to the recipient’s website
to complete your transaction using their regular checkout flow. "

NB: I was logged into the developer.paypal.com when trying to do the
checkout. Can anyone throw some light into this ?

-Saurav

I also want to add that without even login to the paypal.developer.com,
I get the same error.

Saurav C. wrote:

Hi,

I have followed Cody F.'s tutorial ‘PayPal Express Payments with
ActiveMerchant’
[http://www.codyfauser.com/2008/1/17/paypal-express-payments-with-activemerchant]
and its working fine for me in my local system. But when I try to move
the code in my server, the code is not working.I get the following
error:
"This transaction is invalid. Please return to the recipient’s website
to complete your transaction using their regular checkout flow. "

NB: I was logged into the developer.paypal.com when trying to do the
checkout. Can anyone throw some light into this ?

-Saurav

I think something is wrong with paypals test environment… I
commented out

#config.after_initialize do

ActiveMerchant::Billing::Base.mode = :test

#end

in config/environments/development.rb and it seems to work fine now.
Well, its asking me to log into paypal at least, I try to login but my
login matches my merchant login, so it complains about that. But
still, I think its working fine.

On Aug 5, 5:32 am, Saurav C. <rails-mailing-l…@andreas-

Could you solve the problem ?

I have implemented it with Ruby PayPal SDK. Its working fine for me now.

jerome187 wrote:

I’m having the same issue, its happening on my laptop tho, I have not
tried to put it on a server yet.

On Aug 5, 5:32�am, Saurav C. <rails-mailing-l…@andreas-

I’m having the same issue, its happening on my laptop tho, I have not
tried to put it on a server yet.

On Aug 5, 5:32 am, Saurav C. <rails-mailing-l…@andreas-