Update paymentmodes.php
This commit is contained in:
parent
126479b5a9
commit
03938e2123
@ -639,7 +639,7 @@ if (empty($reshook))
|
|||||||
try {
|
try {
|
||||||
if (preg_match('/pm_/', $source))
|
if (preg_match('/pm_/', $source))
|
||||||
{
|
{
|
||||||
$payment_method = \Stripe\PaymentMethod::retrieve($source);
|
$payment_method = \Stripe\PaymentMethod::retrieve($source, ["stripe_account" => $stripeacc]);
|
||||||
if ($payment_method)
|
if ($payment_method)
|
||||||
{
|
{
|
||||||
$payment_method->detach();
|
$payment_method->detach();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user