Fix issue with Geocoding for Paypal payment.
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Thu, 2 Sep 2010 17:09:47 +0000 (18:09 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Thu, 2 Sep 2010 17:09:47 +0000 (18:09 +0100)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
modules/payment/money/paypal.inc.php

index e7ae70d..be1f2d0 100644 (file)
@@ -42,6 +42,8 @@ class PayPal
         // the user must come back on the site.
         global $globals, $platal;
 
+        require_once 'geocoding.inc.php';
+
         $this->urlform = 'https://' . $globals->money->paypal_site . '/cgi-bin/webscr';
         $user = S::user();
         $name = $user->lastName();