• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Paypal authorize payment link using paypal generated paykey

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I'm using paypals adaptive api's. I use the following link within sandbox (i.e. development) to redirect
to paypal site from my site, so that users can log into paypal and be authenticated and then authorize payment to my site.
I would like to use the paypals live production connection, but I cant find it on the internet (or on the paypal site), had no
response from paypal via emails.

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=

Can anybody help

Mat

 
Saloon Keeper
Posts: 15630
366
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just a wild guess, but it's probably the same url, without the sandbox subdomain?
 
Stephan van Hulst
Saloon Keeper
Posts: 15630
366
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A quick Google search came up with this: https://developer.paypal.com/docs/classic/api/endpoints/
 
Stephan van Hulst
Saloon Keeper
Posts: 15630
366
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't understand why you're trying to access the cgi folder on paypal? Use one of the REST APIs instead.
 
Mat Anthony
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Stephan,
that was a quick response

Just found the following link:-
https://developer.paypal.com/docs/classic/adaptive-payments/integration-guide/APCommands/

You were spot on
From development:-
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=
To production:-
_ap-payment Command
The sender can log in to paypal.com and approve a payment when you redirect the sender's browser to paypal.com with the _ap-payment command.
Redirect to PayPal using the _ap-payment command
https://www.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=value

Thanks

Mat
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic