diff --git a/ubercart/payment/uc_paypal/uc_paypal.module b/ubercart/payment/uc_paypal/uc_paypal.module
index e6c2f00..837c5d5 100644
--- a/ubercart/payment/uc_paypal/uc_paypal.module
+++ b/ubercart/payment/uc_paypal/uc_paypal.module
@@ -412,6 +412,13 @@ function uc_paypal_wpp_charge($order_id, $amount, $data) {
     }
   }
 
+  // Paypal doesn't understand IPV6
+  if(strstr($nvp_request['IPADDRESS'],"::ffff:")){
+    $nvp_request['IPADDRESS'] = ltrim($nvp_request['IPADDRESS'],"::ffff:");
+  }
+
   $nvp_response = uc_paypal_api_request($nvp_request, variable_get('uc_paypal_wpp_server', 'https://api-3t.sandbox.paypal.com/nvp'));
   $types = uc_credit_transaction_types();
 
