File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -541,6 +541,8 @@ public function getPaymentwallWidget($data)
541
541
break ;
542
542
default :
543
543
$ this ->_prepareCustomerQuote ();
544
+ $ customer = $ this ->customerRepository ->getById ($ this ->getCustomerSession ()->getCustomerId ());
545
+ $ registrationDate = strtotime ($ customer ->getCreatedAt ());
544
546
break ;
545
547
}
546
548
$ quote ->save ();
@@ -579,6 +581,7 @@ public function getPaymentwallWidget($data)
579
581
'ps ' => $ paymentwallPaymentMethod ,
580
582
'merchant_order_id ' => $ quoteId ,
581
583
'cancel_url ' => $ this ->urlBuilder ->getUrl ('checkout/cart ' ),
584
+ 'history[registration_date] ' => !empty ($ registrationDate ) ? $ registrationDate : '' ,
582
585
],
583
586
$ userProfileData
584
587
);
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " paymentwall/module-magento2" ,
3
3
"description" : " Offical Paymentwall module for Magento 2" ,
4
- "version" : " 2.5.3 " ,
4
+ "version" : " 2.5.4 " ,
5
5
"type" : " magento2-module" ,
6
6
"homepage" : " https://www.paymentwall.com/?source=gh" ,
7
7
"keywords" : [
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<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 " >
4
4
<sequence >
5
5
<module name =" Magento_Sales" />
6
6
<module name =" Magento_Payment" />
You can’t perform that action at this time.
0 commit comments