Skip to content

Commit 8e10644

Browse files
authored
[8.x] Document removePaymentMethod for Cashier Stripe (laravel#7559)
* Update billing.md * Update billing.md * Update billing.md
1 parent f8eec0a commit 8e10644

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

billing.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,10 @@ To delete a payment method, you may call the `delete` method on the `Laravel\Cas
572572

573573
$paymentMethod->delete();
574574

575+
The `deletePaymentMethod` method will delete a specific payment method from the billable model:
576+
577+
$user->deletePaymentMethod('pm_visa');
578+
575579
The `deletePaymentMethods` method will delete all of the payment method information for the billable model:
576580

577581
$user->deletePaymentMethods();

0 commit comments

Comments
 (0)