From 8e88d12d88faa355496944607548f03880c5b462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maurice=20Preu=C3=9F?= Date: Thu, 29 Sep 2022 16:14:00 +0200 Subject: [PATCH] Update Wallets.php --- src/Accounts/Traits/BitinflowPaymentsWallet/Wallets.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Accounts/Traits/BitinflowPaymentsWallet/Wallets.php b/src/Accounts/Traits/BitinflowPaymentsWallet/Wallets.php index 20b0315..ead2e66 100644 --- a/src/Accounts/Traits/BitinflowPaymentsWallet/Wallets.php +++ b/src/Accounts/Traits/BitinflowPaymentsWallet/Wallets.php @@ -10,7 +10,7 @@ class Wallets { // } - + /** * Get all wallets that belongs to the user. * @@ -46,4 +46,9 @@ class Wallets return true; } + + public function setupIntent() + { + return sprintf('%swallet/?continue_url=%s', config('bitinflow-accounts.payments.dashboard_url'), urlencode(url()->to($success_path))); + } }