diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php
index bc4eafb9ca1..c8c6f759114 100644
--- a/htdocs/compta/facture.php
+++ b/htdocs/compta/facture.php
@@ -2935,6 +2935,20 @@ else
*/
$somethingshown=$object->showLinkedObjectBlock();
+ // Link for paypal payment
+ if ($conf->paypal->enabled)
+ {
+ $langs->load("paypal");
+ $langs->load("paybox");
+ $servicename='PayPal';
+ include_once(DOL_DOCUMENT_ROOT.'/paypal/lib/paypal.lib.php');
+
+ print '
';
+ print img_picto('','object_globe.png').' '.$langs->trans("ToOfferALinkForOnlinePayment",$servicename).'
';
+ $url=getPaypalPaymentUrl(0,'invoice',$object->ref);
+ print '
';
+ }
+
print '