Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Business::PayPal and sandbox / developer paypal

by davidov0009 (Scribe)
on Nov 23, 2007 at 03:11 UTC ( [id://652479]=note: print w/replies, xml ) Need Help??


in reply to Re: Business::PayPal and sandbox / developer paypal
in thread Business::PayPal and sandbox / developer paypal

That line appears in the docs for Business::PayPal::API, which isn't one of the modules I'm using. Thanks though for the heads up, I'll consider that one in the future.

I am having some luck with changing the $GTW variable in the IPN.pm file for the ::IPN module to the sandbox address, and then changing the entries for the live site with the sandbox address under the -address and -action parameters in the PayPal.pm of the ::PayPal module.

For any of you looking to do the same here is what I did:
#Line 21 of PayPal.pm (Business::PayPal) address => 'https://www.paypal.com/cgi-bin/webscr' #change to https:// +www.sandbox.paypal.com/cgi-bin/webscr #Line 82 of PayPal.pm (Business::PayPal) -action => 'https://www.paypal.com/cgi-bin/webscr', #do same a +s above comment #Line 13 of IPN.pm (Business::PayPal::IPN) $GTW = 'https://www.paypal.com/cgi-bin/webscr'; # do same as ab +ove comments

When I go live I'll change these back to the live address.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://652479]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-25 20:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found