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

مشکل با csrf_tokken #26

Open
ho3ein-mola opened this issue Feb 15, 2018 · 2 comments
Open

مشکل با csrf_tokken #26

ho3ein-mola opened this issue Feb 15, 2018 · 2 comments

Comments

@ho3ein-mola
Copy link

این کتابخانه با متد پست روی لاراول کار نمیکنه و متد گت هم درست نیست برای پرداخت استفاده بشه . مشکل از csrf_token هست

@RTLer
Copy link
Owner

RTLer commented Oct 2, 2018

@ho3ein-mola can you show us your code and the error?
i don't think csrf_token have to do anything with this lib.

@shdehnavi
Copy link

shdehnavi commented Jan 12, 2020

این کتابخانه با متد پست روی لاراول کار نمیکنه و متد گت هم درست نیست برای پرداخت استفاده بشه . مشکل از csrf_token هست

Hi, you can add your payment routes in $except array in VerfyCsrfToken.php middleware.

for example, your payment route is: http://site.com/api/payment
your $except array shoud be like this:

$except = [
    'api/payment/*'
];

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

3 participants