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))); + } }