You need mod_rewrite enabled in your apache to make recurring invoice work
If you want Paypal payments to be auto inserted in your Simple Invoices, your Simple Invoices install needs to be publicly accessible
Edit your biller account in Simple Invoices and enter
Your Paypal biller name in the 'PayPal business name' field, this is your PayPal email address, not your actual business name.
In the 'PayPal notify url' field enter 'http://{yourserver.com}/{simple-invoice-folder}/api-paypal'
-
Note: You need mod_rewrite enabled in your apache to make this work
In the 'PayPal return url' field enter the url you want the customer redirected to
This could be your website or a default thanks you message page etc..
And click Save on the biller
Edit the Invoice Preference you will use
Go the the Invoice Preferences page and edit the invoice preference you will use to create invoices
in the 'Include online payment' fields select 'Paypal'
by doing this - when you create an invoice using this invoice preference a Paypal image/link will appear at the bottom of the invoice - that links to the paypal.com payment page
you may want to alter some of the text of the other invoice preferences fields to include reference to payment via Paypal
Now once you create an invoice using your biller and the invoice preference setup in the previous steps when you view the
PDF of the invoice there should be a PayPal image link
If all your paypal details have been entered OK when you click on the link it will direct you to a Paypal.com page with the Invoice ID and Amount $ ready to be paid
Assuming you have entered the notify url correctly in the biller setup once your customer pays you via Paypal it should auto input this payment in your Simple Invoices payments
If you have any queries post in the discussions section below or in the
forum
| wiki/paypal.txt · Last modified: 2012/01/26 02:59 by 199.27.128.235
Discussion
Hi, I have done exactly what is explained in this post http://www.simpleinvoices.org/wiki/paypal?s[]=paypal but the paypal process is not fully working.
I'm sure this is the problem:
In the 'PayPal notify url' field enter 'http://{yourserver.com}/{simple-invoice-folder}/api-paypal'
I don't have any api-paypal folder (or file) in my simple invoice folder.
It generate a 404 error and it is forwarded to my homepage (or a custon 404 error page) It doesn't LOG the payment in the invoice records.
Anyway, the payment, works fine.
hey berniberni
i've replied to your forum post re this issue
cheers
justin
When i click on the paypal button to pay on the PDF. It takes me to paypal. But it wants me to login.
If i log in, and then click on the paypal button from the pdf. it just takes me into my account and thats it. Nothing more. I did exactly what the instructions say on top. is there anything else I need to do. Did i miss something. Any help would be great. Thank you
hey jaro
if you can post the url it send you to - just do a copy link from the PDF and i'll review
note: best bet is to post the question in our forum http://simpleinvoices.org/forum
cheers
justin
I am a hard-core developer, not so much yet with simple invoices, but I just got this working…let me answer a few questions (This is assuming you will be using 2010.2 BETA 7)
1. The PayPal “Business Name” really means your PayPal email address, not the actual name of the business
2. There is a bug in the system, in /templates/invoices/default/plugins/function.online_payment_link.php on Line 10 You simply need to add a ”?” after ”/xclick/” so the line should read: href=\”https://www.paypal.com/xclick/?business=”.urlencode($params['business'])…
NOT
href=\”https://www.paypal.com/xclick/business=”.urlencode($params['business'])…
I hope this helps!
Thanks Tom
have added this to our todo list - should be fixed in the next release
Cheers
justin