Commit eaf824f2 authored by Daniel's avatar Daniel
Browse files

HOTFIX/#62

parent 3161ce40
......@@ -3,7 +3,7 @@
* Plugin Name: CrefoPay Payment Solution
* Plugin URI: https://repo.crefopay.de/crefopay/woocommerce
* Description: The complete solution for your eCommerce payments.
* Version: 3.1.4
* Version: 3.1.5
* Requires at least: 5.1
* Requires PHP: 7.2
* Author: Shakuras GbR
......@@ -122,7 +122,7 @@ define('PHONE_REGEX', '/^(((((((00|\+)[0-9]{2}[ \\\\\-\/]?)|0)[1-9][0-9]{1,4})[
* Main Class of the CrefoPay payment plugin
*
* @class CrefoPay_Payment_Solution
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay-Payment-Solution
*/
class Crefopay_Payment_Solution
......
......@@ -16,7 +16,7 @@ use Upg\Library\Request\Objects\Amount;
*
* @class WC_API_CrefoPay_Api_Callback
* @extends WC_API
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay-Payment-Solution\Callbacks
*/
class WC_API_CrefoPay_Api_Callback extends WC_API
......
......@@ -16,7 +16,7 @@ use Upg\Library\Mns\Handler;
*
* @class WC_API_Crefo_Notification_Callback
* @extends WC_API
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay-Payment-Solution\Callbacks
*/
class WC_API_Crefo_Notification_Callback extends WC_API
......
......@@ -12,7 +12,7 @@ require_once plugin_dir_path(__FILE__) . '../controllers/class-wc-crefopay.php';
* Process redirect payments
*
* @class WC_API_CrefoPay_Api_Callback
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay-Payment-Solution\Controllers
*/
class CrefoPay_API_Callback_Processor
......
......@@ -52,7 +52,7 @@ use Upg\Library\Validation\Validation;
*
* @class CrefoPay
* @autoloads Upg\Library
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay-Payment-Solution\Controllers
*/
class CrefoPay
......@@ -1135,11 +1135,7 @@ class CrefoPay
->setStreet($customer->get_billing_address_1())
->setZip($customer->get_billing_postcode())
->setAdditional($customer->get_billing_address_2());
$this->transaction
->setBillingRecipient(
trim($customer->get_billing_first_name() . ' ' . $customer->get_billing_last_name())
)
->setBillingAddress($billingAddress);
$this->transaction->setBillingAddress($billingAddress);
// SHIPPING ADDRESS: add shipping address to request data if a customer/company name is provided
if (!empty($customer->get_shipping_company()) && $this->options['crefopay_b2b_enabled']) {
......
......@@ -14,7 +14,7 @@ if ( class_exists( 'WC_GZD_Email_Customer_Paid_For_Order' ) ) :
* from the WooCommerce Germanized extension.
*
* @class CrefoPay_GZD_Email_Customer_Paid_For_Order
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay-Payment-Solution\Controllers
*/
class CrefoPay_GZD_Email_Customer_Paid_For_Order extends WC_GZD_Email_Customer_Paid_For_Order
......
......@@ -15,7 +15,7 @@ use Upg\Library\Mns\ProcessorInterface;
*
* @class CrefoPay_Notification_Callback_Processor
* @implements Upg\Library\Mns\ProcessorInterface
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay-Payment-Solution\Controllers
*/
class CrefoPay_Notification_Callback_Processor implements ProcessorInterface
......
......@@ -10,7 +10,7 @@ defined('ABSPATH') or die('No script kiddies please!');
* Process CrefoPay notifications.
*
* @class CrefoPay_Notification_Processor
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay-Payment-Solution\Controllers
*/
class CrefoPay_Notification_Processor
......
......@@ -19,7 +19,7 @@ require_once plugin_dir_path(__FILE__) . '../models/class-wc-crefopay-error.php'
*
* @class WC_Crefo_Exception
* @extends WC_Data_Exception
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay Payment Solution
*/
class WC_Crefo_Exception extends WC_Data_Exception
......
......@@ -14,7 +14,7 @@ require_once plugin_dir_path(__FILE__) . '../controllers/class-wc-crefopay.php';
*
* @class WC_Crefo_Credit Card
* @extends WC_Crefo_Gateway
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay Payment Solution
*/
class WC_Crefo_CreditCard extends WC_Crefo_Gateway
......
......@@ -15,7 +15,7 @@ require_once plugin_dir_path(__FILE__) . 'class-wc-payment-gateway.php';
*
* @class WC_Crefo_Debit
* @extends WC_Crefo_Gateway
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay-Payment-Solution\Gateways
*/
class WC_Crefo_Debit extends WC_Crefo_Gateway
......
......@@ -13,7 +13,7 @@ require_once plugin_dir_path(__FILE__) . 'class-wc-payment-gateway.php';
*
* @class WC_Crefo_Invoice
* @extends WC_Crefo_Gateway
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay-Payment-Solution\Gateways
*/
class WC_Crefo_Invoice extends WC_Crefo_Gateway
......
......@@ -13,7 +13,7 @@ require_once plugin_dir_path(__FILE__) . 'class-wc-payment-gateway.php';
*
* @class WC_Crefo_PayPal
* @extends WC_Crefo_Gateway
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay Payment Solution
*/
class WC_Crefo_PayPal extends WC_Crefo_Gateway
......
......@@ -13,7 +13,7 @@ require_once plugin_dir_path(__FILE__) . 'class-wc-payment-gateway.php';
*
* @class WC_Crefo_Prepaid
* @extends WC_Crefo_Gateway
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay Payment Solution
*/
class WC_Crefo_Prepaid extends WC_Crefo_Gateway
......
......@@ -13,7 +13,7 @@ require_once plugin_dir_path(__FILE__) . 'class-wc-payment-gateway.php';
*
* @class WC_Crefo_Sofort
* @extends WC_Crefo_Gateway
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay Payment Solution
*/
class WC_Crefo_Sofort extends WC_Crefo_Gateway
......
......@@ -15,7 +15,7 @@ use Upg\Library\Request\Objects\PaymentInstrument;
*
* @class WC_Crefo_Gateway
* @extends WC_Payment_Gateway
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay-Payment-Solution\Gateways
*/
abstract class WC_Crefo_Gateway extends WC_Payment_Gateway
......
......@@ -10,7 +10,7 @@ defined('ABSPATH') or die('No script kiddies please!');
* Represents CrefoPay error details.
*
* @class WC_Crefo_Error
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay-Payment-Solution\Models
*/
class WC_Crefo_Error
......
......@@ -17,7 +17,7 @@ use Upg\Library\Request\Objects\SolvencyCheckInformation;
* Represents a CrefoPay Transaction.
*
* @class WC_Crefo_Transaction
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay-Payment-Solution\Models
*/
class WC_Crefo_Transaction
......
......@@ -15,7 +15,7 @@ require_once plugin_dir_path(__FILE__) . 'wc-admin.php';
* Provide setup actions
*
* @class Setup
* @version 3.1.4
* @version 3.1.5
* @package CrefoPay-Payment-Solution\Setup
*/
class Setup
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment