Skip to content

Commit 2e5a9f9

Browse files
masonmason
mason
authored and
mason
committed
Merge branch 'glb-v2.1-master' into v2.1-master
2 parents 7750703 + 0a36f8b commit 2e5a9f9

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Model/Paymentwall.php

+3
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,8 @@ public function getPaymentwallWidget($data)
541541
break;
542542
default:
543543
$this->_prepareCustomerQuote();
544+
$customer = $this->customerRepository->getById($this->getCustomerSession()->getCustomerId());
545+
$registrationDate = strtotime($customer->getCreatedAt());
544546
break;
545547
}
546548
$quote->save();
@@ -579,6 +581,7 @@ public function getPaymentwallWidget($data)
579581
'ps' => $paymentwallPaymentMethod,
580582
'merchant_order_id' => $quoteId,
581583
'cancel_url' => $this->urlBuilder->getUrl('checkout/cart'),
584+
'history[registration_date]' => !empty($registrationDate) ? $registrationDate : '',
582585
],
583586
$userProfileData
584587
);

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "paymentwall/module-magento2",
33
"description": "Offical Paymentwall module for Magento 2",
4-
"version": "2.5.3",
4+
"version": "2.5.4",
55
"type": "magento2-module",
66
"homepage": "https://www.paymentwall.com/?source=gh",
77
"keywords": [

etc/module.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
3-
<module name="Paymentwall_Paymentwall" setup_version="2.5.3" schema_version="2.5.3">
3+
<module name="Paymentwall_Paymentwall" setup_version="2.5.4" schema_version="2.5.4">
44
<sequence>
55
<module name="Magento_Sales"/>
66
<module name="Magento_Payment"/>

0 commit comments

Comments
 (0)