|
|
(6 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | == MediaWiki Extension == | + | == Getting verified == |
− | [[MW:Extension:PayPal]] is an extension for creating PayPal donation forms using a <paypal> tag. [http://www.rentacoder.com/RentACoder/SoftwareBuyers/ShowBuyerInfo.asp?lngAuthorId=1573573 PokerCoder] requested adding IPN support to the extension through [http://www.rentacoder.com/RentACoder/misc/BidRequests/ShowBidRequest.asp?lngBidRequestId=816040&txtForceRefresh=1129200723554297227 this RentACoder job] and has accepted [[User:Nad]]'s bid to complete the work.
| + | If you're not a "verified user" then there are restriction imposed |
| + | *US$500/month sending |
| + | *Can't accept credit cards on your site |
| + | The only way to get verified is to add a credit card to your account. |
| | | |
− | == IPN == | + | === Loaded Card === |
− | '''I'''nstant '''P'''ayment '''N'''otification, included with Website Payment products, Express Checkout, and Standard Checkout, is available to PayPal Premier and Business members. Instant Payment Notification allows you to integrate your PayPal payments with your website's back-end operations, so that you get immediate notification and authentication of any PayPal payments and disputes you may receive.
| + | NZPost do [http://www.nzpost.co.nz/Cultures/en-NZ/ProductsAndServices/P/PrezzyCard/AboutPrezzyCard.htm Prezzy Cards] and [https://www.loadedcard.co.nz/ Loaded Cards] which work like a normal VISA credit card, but are pre-paid. The Prezzy cards are anonymous, but the Loaded Cards are registered to a particular person and require ID to aquire (but there are no credit restrictions), so they should be able to be used for account verification for PayPal users who with bad credit ratings. |
| + | *According to [http://smilecity.co.nz/benefits.asp?go=forum&tp=165801&ca=8 this comment] Loaded cards are accepted by PayPal |
| | | |
− | When a customer makes a payment to you, PayPal will post a notification to your server at a URL you specify. Included in this notification will be all of your customer's payment information (e.g. customer name, amount) as well as a piece of encrypted code. When your server receives a notification, it will then post the information, including the encrypted code, back to a secure PayPal URL. PayPal will authenticate the transaction by checking the encrypted string. This post-back of the IPN data to PayPal prevents "spoofing," so you can be sure that the IPN came from PayPal. Upon verification, PayPal will send confirmation of its validity back to your server.
| + | [[Category:PayPal]][[Category:Money]] |
− | *[https://www.paypal.com/IntegrationCenter/ic_ipn.html IPN at PayPal Integration Center]
| |
− | *[http://www.paypal.com/us/cgi-bin/webscr?cmd=p/pdn/article_pdn_intro-outside IPN Introduction for Developers]
| |
− | *[http://designertuts.com/paypal-ipn-receiving-instant-payments-in-your-web-application/ DesignerTuts Tutorial]
| |
− | *[https://www.paypal.com/us/cgi-bin/webscr?cmd=p/xcl/rec/ipn-manual-outside IPN Manual]
| |
− | *[https://www.paypal.com/us/cgi-bin/webscr?cmd=p/xcl/rec/ipn-techview-outside IPN Technical Overview]
| |
− | *[https://www.paypal.com/us/cgi-bin/webscr?cmd=p/xcl/rec/ipn-code-outside Instant Code Samples]
| |
− | *[https://www.paypal.com/us/cgi-bin/webscr?cmd=p/xcl/rec/ipn-techniques-outside IPN Techniques]
| |
− | *[http://www.superfreaker.com/paypal/inventory.asp Basic Inventory Management Using IPN]
| |
− | *[http://www.eliteweaver.co.uk/testing/ipntest.php IPN Test Environment]
| |
− | *[http://www.paypal-tech.com/SG2/scriptparse.php IPN PHP Script Generator]
| |
− | *[http://www.eliteweaver.co.uk/testing/ipntest.php?mode=_fetch-help Good IPN tech info]
| |
− | | |
− | == PDT ==
| |
− | *[https://www.paypal.com/helpcenter/main.jsp;jsessionid=HJYGzrhnBSnHTFvBB1JLFSrVq5FGw7LT49RVPCr34y3J3LPDlphh!-1839041657?t=solutionTab&ft=homeTab&ps=&target=_parent&solutionId=10768&locale=en_US&_dyncharset=UTF-8&countrycode=US&cmd=_help&serverInstance=9003 What's the difference between IPN and PDT?]
| |
− | | |
− | == PayPal Sandbox ==
| |
− | The paypal sandbox allows all operations done within the paypal site to be performed within a test environment. It's useful to have a wildcard email domain so you can use any number of email addresses for different test accounts etc.
| |
− | | |
− | To set up a paypal sandbox environment suitable to test the MediaWiki PayPal extension, you must first sign up as a developer at https://developer.paypal.com using the email address that your paypal forms are set to (use a different password, or change the form's to another address completely if you like, but ensure that your forms match the paypal developer login).
| |
− | | |
− | Next set up '''two''' test accounts at https://www.sandbox.paypal.com (the session will be logged in as the master account, and the test account gets created under that). One of the test accounts will act as buyer and the other as seller. You'll need an email address for each (they can be imaginary, but I recommend they be real if you have a wild card email domain to create unlimited addresses under). Both accounts need to have their email addresses confirmed and must have a bank account added and confirmed before test transactions can be done, so you need to log in to each and go through those processes. Note that the emails which get sent during this process are not physically sent outside the sandbox environment - you must retrieve them from the developer site's "test emails" section.
| |
− | | |
− | Finally you need to tell the PayPal MediaWiki extension to use the test buyer account. To do this, set the ''$wgPayPalTest'' global variable to the email address of the seller test account in your ''LocalSettings.php'' file, but don't change anything in your form definitions - these must stay set to the email of the master account (which I personally prefer to keep the same as the real business email so the forms don't need to change when switching from testing to real).
| |
Getting verified
If you're not a "verified user" then there are restriction imposed
- US$500/month sending
- Can't accept credit cards on your site
The only way to get verified is to add a credit card to your account.
Loaded Card
NZPost do Prezzy Cards and Loaded Cards which work like a normal VISA credit card, but are pre-paid. The Prezzy cards are anonymous, but the Loaded Cards are registered to a particular person and require ID to aquire (but there are no credit restrictions), so they should be able to be used for account verification for PayPal users who with bad credit ratings.
- According to this comment Loaded cards are accepted by PayPal