summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWesley Jones2015-12-26 00:25:09 (GMT)
committerWesley Jones2015-12-26 00:25:09 (GMT)
commit8c5d88c8cca62c0d8e259b5fa32f7db663619a09 (patch)
treee84cc1e6971de2464c7d33add374647dc3e73fa3
parent72fc814ce33297a22edde33c45787904d68c05a4 (diff)
Added hook to allow access to the response object from Paypal7.x-1.x
-rw-r--r--commerce_license_billing_paypal.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/commerce_license_billing_paypal.module b/commerce_license_billing_paypal.module
index 8a58d7c..8c3bee6 100644
--- a/commerce_license_billing_paypal.module
+++ b/commerce_license_billing_paypal.module
@@ -477,6 +477,7 @@ function commerce_license_billing_paypal_redirect_form_validate($order, $payment
if (empty($order->mail)) {
$order->mail = $response['EMAIL'];
}
+ drupal_alter('commerce_license_billing_paypal_response', $response, $order);
// Create a billing information profile for the order with the available info.
if (!empty($payment_method['settings']['update_billing_profiles'])) {