ConnectionError by using paypal express

51 views
Skip to first unread message

Xin Jiang

unread,
Aug 12, 2015, 9:18:19 AM8/12/15
to Active Merchant
Hi
I am using the latest version of activemerchant(1.52.0)
And made it works by follow railcasts tutorial.

After I deploy to the server(VPS). I sometimes encountered this:

ActiveMerchant::ConnectionError (The connection to the remote server timed out):

  app/models/deposit.rb:34:in `token='

  app/controllers/deposits_controller.rb:10:in `create'


Here is the line 34:

      details = PAYPAL.details_for token


It's obviously because of paypal connect.

How can I solve it, thanks!
Reply all
Reply to author
Forward
0 new messages