Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't redirect clients to my website after payment complete and can't choose payment methods at my application #6

Closed
ahmedmahgoup94 opened this issue Sep 13, 2020 · 1 comment

Comments

@ahmedmahgoup94
Copy link

Hi Ian Tring to use this library to integrate payment in laravel it is redirect me to payment methods selection page and after that card or other methods info but I want users and clients to choose payment methods at my app and another issue I can't redirect client to app once payment complete.

@thomashunziker
Copy link

To allow the selection of the payment method within your application you have to pass the payment method configuration to use. There is a property called allowedPaymentMethodConfigurations which allows to restrict the payment methods available on the payment page.

To control where the user is redirected to after a payment you can use the property successUrl resp. failedUrl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants