zarinpal-composer-library
zarinpal-composer-library copied to clipboard
مشکل با csrf_tokken
این کتابخانه با متد پست روی لاراول کار نمیکنه و متد گت هم درست نیست برای پرداخت استفاده بشه . مشکل از csrf_token هست
@ho3ein-mola can you show us your code and the error? i don't think csrf_token have to do anything with this lib.
این کتابخانه با متد پست روی لاراول کار نمیکنه و متد گت هم درست نیست برای پرداخت استفاده بشه . مشکل از 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/*'
];