Google Groups Home
Help | Sign in
Moving from Authorize.net to Website Payments Pro (Paypal)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  17 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
voodoorails  
View profile
 More options May 15, 12:34 pm
From: voodoorails <paul.vudma...@gmail.com>
Date: Thu, 15 May 2008 09:34:28 -0700 (PDT)
Local: Thurs, May 15 2008 12:34 pm
Subject: Moving from Authorize.net to Website Payments Pro (Paypal)
RoR version 2.02 / ActiveMerchant 1.3.2

I'm attempting to move from authorize.net (which was working) to
Website Payments Pro - consolidating our merchant accounts to Paypal.
The configuration/verification was different, for example, ip was no
longer optional - and a buyer address is required.

Once I got that sorted out(after receiving appropriate error messages
to push me along), I'm now getting "The connection to the remote
server timed out" (both on my localhost and my production server -
public to the web, not behind a router) - without additional debugging
info that I can find :)

For authorization - I'm using the signature - not the certificate,
supplied by the sandbox in the seller accounts profile.

Looking in ActiveMerchant, I find these urls :

      URLS = {
        :test => { :certificate => 'https://api.sandbox.paypal.com/
2.0/',
                   :signature   => 'https://api-3t.sandbox.paypal.com/
2.0/' },
        :live => { :certificate => 'https://api-aa.paypal.com/2.0/',
                   :signature   => 'https://api-3t.paypal.com/2.0/' }
      }

I'm hoping maybe those are no longer valid? Interestingly, I was, I
thought, getting some communication from Paypal in the verification
process - but perhaps that was local - caught in pre-processing before
hitting Paypal?

I'm using SSL - and have it installed in prod. Unfortunately, the cert
is not proper - that is, the domain.com is secured - but I'm using
beta.domain.com - until I can move into prod. Hopefully I dont have to
un-install SSL to test this? This was working with Authorize.net
before :(


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
voodoorails  
View profile
 More options May 15, 2:22 pm
From: voodoorails <paul.vudma...@gmail.com>
Date: Thu, 15 May 2008 11:22:17 -0700 (PDT)
Local: Thurs, May 15 2008 2:22 pm
Subject: Re: Moving from Authorize.net to Website Payments Pro (Paypal)
After further review ... ;)

The endpoint is correct ...

https://www.paypal.com/IntegrationCenter/ic_api-reference.html
-------
API Endpoints
The API Endpoints for your API calls depend on which authentication
mechanism you use and which calling mechanism you use. The table below
summarizes all of the endpoints.
Environment Authentication Calling Endpoint
-------

Sandbox API Certificate SOAP https://api.sandbox.paypal.com/2.0/
Sandbox API Signature SOAP https://api-3t.sandbox.paypal.com/2.0/

1) some of the transactions made it to Paypal - I can see them in the
Seller transactions, just did not make it back - or my server timed
out before it could?

2) I tried using the certificate - rather than the sig. And installed
it as a PEM file, as described here.
http://www.smallroomsoftware.com/articles/2006/12/5/paypal-website-pa...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cody Fauser  
View profile
 More options May 15, 3:08 pm
From: "Cody Fauser" <codyfau...@gmail.com>
Date: Thu, 15 May 2008 15:08:47 -0400
Local: Thurs, May 15 2008 3:08 pm
Subject: Re: [Active Merchant] Re: Moving from Authorize.net to Website Payments Pro (Paypal)
I think the issue may be that the PayPal sandbox is incredibly flaky
right now. On average transactions have been taking 40+ seconds for me
lately. I've also noticed a lot of people complaining the PayPal
forums.

--
Cody Fauser
http://shopify.com - e-commerce done right
http://www.codyfauser.com - blog
http://peepcode.com/products/activemerchant-pdf - ActiveMerchant PeepCode
http://www.oreilly.com/catalog/rjsrails - RJS Templates for Rails

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
voodoorails  
View profile
 More options May 16, 11:23 am
From: voodoorails <paul.vudma...@gmail.com>
Date: Fri, 16 May 2008 08:23:21 -0700 (PDT)
Local: Fri, May 16 2008 11:23 am
Subject: Re: Moving from Authorize.net to Website Payments Pro (Paypal)
Ok, that makes sense - their support on the forums over there  won't
win any awards. Thanks Cody.

On May 15, 2:08 pm, "Cody Fauser" <codyfau...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
voodoorails  
View profile
 More options May 16, 3:23 pm
From: voodoorails <paul.vudma...@gmail.com>
Date: Fri, 16 May 2008 12:23:10 -0700 (PDT)
Local: Fri, May 16 2008 3:23 pm
Subject: Re: Moving from Authorize.net to Website Payments Pro (Paypal)
Just got off the phone w/tech support person, who was darn near
helpful :) "It's a timeout issue - it'll be fixed within 6 months",
lol.

I can understand that happening now and then but I've yet to get ONE
transaction to work. So I've got to up my timeout time for the
request. Is that an option in AM per request or should I do that ...
somewhere else?

On May 16, 10:23 am, voodoorails <paul.vudma...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
voodoorails  
View profile
 More options May 16, 3:37 pm
From: voodoorails <paul.vudma...@gmail.com>
Date: Fri, 16 May 2008 12:37:21 -0700 (PDT)
Local: Fri, May 16 2008 3:37 pm
Subject: Re: Moving from Authorize.net to Website Payments Pro (Paypal)
# posts_data.rb
module ActiveMerchant #:nodoc:
  class ConnectionError < ActiveMerchantError
  end

  class RetriableConnectionError < ConnectionError
  end

  module PostsData  #:nodoc:
    MAX_RETRIES = 3
    OPEN_TIMEOUT = 60
    READ_TIMEOUT = 120 #changed from 60.

Will see if that helps :)

On May 16, 2:23 pm, voodoorails <paul.vudma...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
voodoorails  
View profile
 More options May 16, 3:51 pm
From: voodoorails <paul.vudma...@gmail.com>
Date: Fri, 16 May 2008 12:51:22 -0700 (PDT)
Local: Fri, May 16 2008 3:51 pm
Subject: Re: Moving from Authorize.net to Website Payments Pro (Paypal)
Hmmm, that took a little longer - but still timed out. If I run it
again ... "The transaction could not be loaded"

Maybe I have to redo my sandbox account as someone on here suggested?
I've redone my credentials.

This is definitely not an AM thing.

On May 16, 2:37 pm, voodoorails <paul.vudma...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cody Fauser  
View profile
 More options May 16, 3:59 pm
From: "Cody Fauser" <codyfau...@gmail.com>
Date: Fri, 16 May 2008 15:59:55 -0400
Local: Fri, May 16 2008 3:59 pm
Subject: Re: [Active Merchant] Re: Moving from Authorize.net to Website Payments Pro (Paypal)
I had success by running only a single transaction at a time. They
each take 40 - 50 seconds, but eventually are successful and timeout
less frequently than trying to run the entire suite at once.

--
Cody Fauser
http://shopify.com - e-commerce done right
http://www.codyfauser.com - blog
http://peepcode.com/products/activemerchant-pdf - ActiveMerchant PeepCode
http://www.oreilly.com/catalog/rjsrails - RJS Templates for Rails

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
voodoorails  
View profile
 More options May 16, 4:44 pm
From: voodoorails <paul.vudma...@gmail.com>
Date: Fri, 16 May 2008 13:44:16 -0700 (PDT)
Local: Fri, May 16 2008 4:44 pm
Subject: Re: Moving from Authorize.net to Website Payments Pro (Paypal)
I'm only trying to authorize one transaction :(

I've been off and on with Tech support over there - highly recommend
avoiding that!

I'm on my localhost - behind a router (linksys/residential) you think
that would matter ?- the same thing happened when I moved it to my
prod server so I doubt it. I'm running on port 3000. Thanks Cody.

On May 16, 2:59 pm, "Cody Fauser" <codyfau...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.