Skip to content

Commit

Permalink
1.6.43
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Feb 10, 2017
1 parent 6feadb6 commit 5189a7c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
15 changes: 15 additions & 0 deletions Facade/O.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
namespace Dfe\Stripe\Facade;
use Stripe\StripeObject as _O;
// 2017-02-11
final class O extends \Df\StripeClone\Facade\O {
/**
* 2017-02-11
* @override
* @see \Df\StripeClone\Facade\O::toArray()
* @used-by \Df\StripeClone\Method::transInfo()
* @param _O $o
* @return array(string => mixed)
*/
public function toArray($o) {return $o->getLastResponse()->json;}
}
10 changes: 0 additions & 10 deletions Method.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,6 @@ protected function convertException(\Exception $e) {return
$e instanceof lException ? new Exception($e) : $e
;}

/**
* 2016-12-27
* @override
* @see \Df\StripeClone\Method::responseToArray()
* @used-by \Df\StripeClone\Method::transInfo()
* @param \Stripe\StripeObject $response
* @return array(string => mixed)
*/
protected function responseToArray($response) {return $response->getLastResponse()->json;}

/**
* 2016-12-26
* Хотя Stripe использует для страниц транзакций адреса вида
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": "1.6.42"
,"version": "1.6.43"
,"description": "The «Stripe» payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/stripe"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": "^1.12.20", "stripe/stripe-php": "3.*"}
,"require": {"mage2pro/core": "^1.12.21", "stripe/stripe-php": "3.*"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Stripe\\": ""}}
,"keywords": [
"API"
Expand Down

0 comments on commit 5189a7c

Please sign in to comment.