Plugin Directory

Changeset 2836307


Ignore:
Timestamp:
12/19/2022 10:53:55 PM (3 years ago)
Author:
subsreasy
Message:

Added logging for save_card service

Location:
subscreasy-payment-gateway-for-woocommerce/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • subscreasy-payment-gateway-for-woocommerce/trunk/class-wc-gateway-subscreasy.php

    r2680839 r2836307  
    617617
    618618        if ($response instanceof WP_Error) {
    619             return $this->request_failed(new Exception("save_card"), null);
     619            $this->log("save_card error" . var_export($response, true));
     620            $key = array_keys($response->errors)[0];
     621            return $this->request_failed(new Exception($key), null);
     622        } else {
     623            $this->log_http_response($url, $response);
    620624        }
    621625
     
    674678        } else {
    675679            $this->log("Response received from " . $url . "\n"
    676               . "body: " . $response2["body"] . "\n" . "response: " . $response2["response"] );
     680                . "body: " . $response2["body"] . "\n" . "response: " . $response2["response"] );
    677681        }
    678682    }
  • subscreasy-payment-gateway-for-woocommerce/trunk/readme.txt

    r2681026 r2836307  
    1 === Subscreasy Payment Gateway for Woocommerce and Subscriptions===
     1=== Subscreasy Payment Gateway for Woocommerce Subscriptions===
    22Contributors: Subscreasy
    3 Tags: credit card, stripe, apple pay, payment request, google pay, sepa, sofort, bancontact, alipay, giropay, ideal, p24, woocommerce, automattic
     3Tags: credit card, stripe, paytr, payment, iyzico, sepa, sofort, bancontact, alipay, giropay, ideal, p24, woocommerce, automattic
    44Requires at least: 4.4
    5 Tested up to: 5.9
     5Tested up to: 6.1.1
    66Requires PHP: 5.6
    77Stable tag: 4.5.2
     
    1111Subscreasy Payment Gateway plugin is a payment gateway plugin for WooCommerce and WooCommerce Subscriptions.
    1212It provides both single payments and recurring payments.
    13 Currently, the plugin supports payments through iyzico, PayU, PayTR payment service providers can be used with this plugin.
     13Currently, the plugin supports payments through iyzico, PayU, PayTR, Stripe payment service providers can be used with this plugin.
Note: See TracChangeset for help on using the changeset viewer.