Remove debug code.
This commit is contained in:
@ -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'];
|
||||
|
||||
if (!empty($shipping_info)) {
|
||||
@ -1029,8 +1025,6 @@ function _uc_stripe_confirm_payment(){
|
||||
'save_payment_method' => true,
|
||||
);
|
||||
|
||||
drupal_set_message(print_r($params, true), 'status');
|
||||
|
||||
if(!$stripe_customer_id) {
|
||||
$customer = _uc_stripe_create_stripe_customer($order, $data['payment_method_id']);
|
||||
if(!$customer){
|
||||
|
Reference in New Issue
Block a user