Remove debug code.

This commit is contained in:
mburtonkelly
2019-10-04 15:10:19 -05:00
parent d95fa6e721
commit 19038bc7a0

View File

@ -624,10 +624,6 @@ function uc_stripe_charge($order_id, $amount, $data) {
); );
drupal_set_message(print_r($metadata, true), 'status');
drupal_set_message(print_r($params, true), 'status');
$intent_id = $order->data['payment_intent_id']; $intent_id = $order->data['payment_intent_id'];
if (!empty($shipping_info)) { if (!empty($shipping_info)) {
@ -1029,8 +1025,6 @@ function _uc_stripe_confirm_payment(){
'save_payment_method' => true, 'save_payment_method' => true,
); );
drupal_set_message(print_r($params, true), 'status');
if(!$stripe_customer_id) { if(!$stripe_customer_id) {
$customer = _uc_stripe_create_stripe_customer($order, $data['payment_method_id']); $customer = _uc_stripe_create_stripe_customer($order, $data['payment_method_id']);
if(!$customer){ if(!$customer){