unicodeveloper / laravel-paystack

:credit_card: :package: :moneybag: Laravel 6, 7, 8, 9, 10 and 11 Package for Paystack

Home Page:https://paystack.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is this library compatible with REST implementations of Laravel logic?

KgotsoK opened this issue · comments

So I have a few Angular apps and they only hit my Laravel app through a REST API. I see most of these library methods process form input and can generate redirects etc. I would have loved to handle that in my own PWA. Are there methods that I can use to interface with paystack and simply produce JSON as a response to my PWA?

So I have a few Angular apps and they only hit my Laravel app through a REST API. I see most of these library methods process form input and can generate redirects etc. I would have loved to handle that in my own PWA. Are there methods that I can use to interface with paystack and simply produce JSON as a response to my PWA?

I will recommend using Angular 4

So I have a few Angular apps and they only hit my Laravel app through a REST API. I see most of these library methods process form input and can generate redirects etc. I would have loved to handle that in my own PWA. Are there methods that I can use to interface with paystack and simply produce JSON as a response to my PWA?

It seems I haven't answer your question, here is my answer:

The package returns JSON response after payment is successful so it ought to be applicable, but you have to set the parameters from frontend in this case your angular app. :)

Awesome, thanks @kingzamzon I am busy testing it now... was skeptical of using that Angular4paystack library as it hasnt been updated in a while and I'd like my payment logic to be on the backend only.