Version 4.7.8

This commit is contained in:
Neo committed 2025-12-19 16:10:42 -08:00
1 parent 7b7404e741
commit fd22d99e69
688 files changed
+19814 -10890

No files matched your search

@@ -285,7 +285,7 @@ class _Stripe extends \IPS\nexus\Gateway
return array();
}
}
return array( 'card' => new \IPS\nexus\Form\CreditCard( $this->id . '_card', NULL, FALSE, array(
'types' => $supportedCards,
'attr' => array(
@@ -300,7 +300,7 @@ class _Stripe extends \IPS\nexus\Gateway
'data-state' => $invoice->billaddress ? $invoice->billaddress->region : NULL,
'data-zip' => $invoice->billaddress ? $invoice->billaddress->postalCode : NULL,
'data-country' => $invoice->billaddress ? $invoice->billaddress->country : NULL,
'data-email' => $member ? $member->email : \IPS\Member::loggedIn()->email,
'data-email' => $member ? $member->email : $invoice->member->email,
'data-phone' => isset( $member->cm_phone ) ? $member->cm_phone : NULL,
'data-amount' => static::_amountAsCents( $amount ),
'data-currency' => $amount->currency,
@@ -602,7 +602,7 @@ class _Stripe extends \IPS\nexus\Gateway
}
/* Source-based */
elseif ( \is_string( $card ) )
if ( \is_string( $card ) )
{
$data['source'] = $card;
unset( $data['capture'] );