Web payment SDK LARAVEL

Hi Everyone, I am new to Laravel and it is my first project in web. I am tasked with connecting the subscription API for website.

I learned that you cannot give credit card information such as CVV, credit card number etc inside the create card API and have to use the web payment SDK. For the past days I have been trying to get the javascript front end work with backend. I used your php web payment sdk example but it is not working.

The error comes at fetch () inside the javascript code where it is failing to get process-payment.php file which is inside the root directory of the project.

it is giving me 404 not found error. Please tell me how to successfully initiate this in Laravel.

Hi there! It sounds like you might be missing some dependencies for the project. Can you check if they’re installed correctly?