Closed (fixed)
Project:
Simple Paypal Framework
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2008 at 20:58 UTC
Updated:
4 Aug 2008 at 00:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
sodani commentedIt seems that paypal has a "sandbox" that can be used for testing - developer.paypal.com. I'll try this out and post again when I learn more.
Comment #2
kbahey commentedYes, this works too. But setting up the sandbox is a very lengthy process.
If you can report the steps to make it work, then it would be useful for all. We can even include it in the README.
Comment #3
sodani commentedI got it to work using the paypal sandbox. The process actually isn't so lengthy. If this could be included in the README, that would be great. Here goes:
The paypal sandbox works just like regular paypal (with transactions and everything) except no actual money gets transferred. It allows you to create mock accounts (seller and buyer) and create transactions between them.
1. Sign up for an account at developer.paypal.com, receive the activation e-mail and activate the account
2. Log in, go to "test accounts" and create a business (seller) account and personal (buyer) account.
3. In whichever module you're using that uses simple_paypal, set the paypal e-mail address to your business account e-mail address.
4. In simple_paypal.module, change
SIMPLE_PAYPAL_URL_TEST => 'https://www.eliteweaver.co.uk/cgi-bin/webscr',
to
SIMPLE_PAYPAL_URL_TEST => 'https://www.sandbox.paypal.com/cgi-bin/webscr',
That's it. When a transaction has been completed, paypal should send a POST request to the URL specified at the 'notify_url' variable.
Comment #4
kbahey commented@sodani
Can you edit this as a patch to the README.txt for instructions and the .module for the new URL? Check http://drupal.org/patch for details.
Comment #5
sodani commentedyes, need a couple of days.
Comment #6
sodani commentedThis is the first patch I've ever created so please let me know if the format is incorrect. There was no README.txt file so I went ahead and created one.
Comment #7
kbahey commentedThank you.
Committed.
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.