Skip to content

Commit

Permalink
2.4.4: #15
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Nov 12, 2017
1 parent dfa4034 commit ba23f2a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Block/Info.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
namespace Dfe\Stripe\Block;
use Dfe\Stripe\Method as M;
use Stripe\Source as lSource;
// 2017-11-12
/** @final Unable to use the PHP «final» keyword here because of the M2 code generation. */
Expand All @@ -16,6 +17,9 @@ protected function cardData() {
if (!($initialSourceId = $this->tm()->res0('three_d_secure/card'))) {
$r = parent::cardData();
}
else if ($responseF = $this->tm()->responseF()) {
$r = $this->cardDataFromChargeResponse($responseF->r(M::IIA_TR_RESPONSE));
}
else {
$this->s()->init();
// 2017-11-12
Expand Down
2 changes: 1 addition & 1 deletion Facade/Charge.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function id($c) {return $c->id;}
* in a charge converted to an array by @see \Dfe\Stripe\Facade\O::toArray()
* @override
* @see \Df\StripeClone\Facade\Charge::pathToCard()
* @used-by \Df\StripeClone\Block\Info::cardData()
* @used-by \Df\StripeClone\Block\Info::cardDataFromChargeResponse()
* @used-by \Df\StripeClone\Facade\Charge::cardData()
* @return string
*/
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/stripe"
,"version": "2.4.3"
,"version": "2.4.4"
,"description": "Stripe integration with Magento 2"
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/stripe"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=3.3.6", "mage2pro/phone": ">=1.0.11", "stripe/stripe-php": ">=5.3"}
,"require": {"mage2pro/core": ">=3.3.7", "mage2pro/phone": ">=1.0.11", "stripe/stripe-php": ">=5.3"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Stripe\\": ""}}
,"keywords": [
"3D Secure"
Expand Down

0 comments on commit ba23f2a

Please sign in to comment.