Fix for expiry failure
This commit is contained in:
parent
8e223c83a5
commit
303bfce10f
1 changed files with 1 additions and 27 deletions
|
|
@ -1302,37 +1302,11 @@ trait GenerateMigrationResources
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private function convertMeta($payment_method)
|
||||
{
|
||||
$expiry = explode('-', $payment_method->expiration);
|
||||
|
||||
if (is_array($expiry)) {
|
||||
if (is_array($expiry) && count($expiry) >= 2) {
|
||||
$exp_month = $expiry[1];
|
||||
$exp_year = $expiry[0];
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue