Skip to content

Commit

Permalink
2.4.3: #15
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Nov 12, 2017
1 parent 7eed5d4 commit dfa4034
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
8 changes: 3 additions & 5 deletions Block/Info.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ protected function cardData() {
}
else {
$this->s()->init();
/**
* 2017-11-12
* "An initial reusable source for a card which requires a 3D Secure verification":
* https://mage2.pro/t/topic/4893
*/
// 2017-11-12
// "An initial reusable source for a card which requires a 3D Secure verification":
// https://mage2.pro/t/4893
$r = lSource::retrieve($initialSourceId);
}
return $r;
Expand Down
1 change: 1 addition & 0 deletions Facade/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ static function isCard($id) {return df_starts_with($id, 'card_');}
* 2017-11-12
* @used-by \Dfe\Stripe\Facade\Charge::tokenIsNew()
* @used-by \Dfe\Stripe\Init\Action::sourceInitial()
* @used-by \Dfe\Stripe\Method::transUrlBase()
* @param string $id
* @return bool
*/
Expand Down
4 changes: 3 additions & 1 deletion Method.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ protected function iiaKeys() {return array_merge(parent::iiaKeys(), [self::$II_C
* @param T $t
* @return string
*/
protected function transUrlBase(T $t) {return 'https://dashboard.stripe.com/payments';}
protected function transUrlBase(T $t) {return 'https://dashboard.stripe.com/' . (
fToken::isPreviouslyUsedOrTrimmedSource($t->getTxnId()) ? 'sources' : 'payments'
);}

/**
* 2017-02-08
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/stripe"
,"version": "2.4.2"
,"version": "2.4.3"
,"description": "Stripe integration with Magento 2"
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/stripe"
Expand Down

0 comments on commit dfa4034

Please sign in to comment.