laravel-stripe icon indicating copy to clipboard operation
laravel-stripe copied to clipboard

problem defining the route

Open pocwork opened this issue 4 years ago • 2 comments

I want to use the stripe connect and this package look great to full fill my requirement. I installed this package but not getting how i can define the route.

can you please guide me how i can define the routes for return url and web hook in laravel considering that i am not using any customization.

Thanks

pocwork avatar Dec 10 '20 14:12 pocwork

Hey! Did the docs not help? https://github.com/cloudcreativity/laravel-stripe/blob/develop/docs/webhooks.md

lindyhopchris avatar Dec 10 '20 18:12 lindyhopchris

Thanks for your quick reply. yes, i gone through the webhooks.md but i am confused about routes. so i added the webhook url like http://127.0.0.1:8000/stripe/webhooks/connect but once i am testing the webhook from stripe its throwing 4040 error

Another thing on which i am confused is returned url for connect

can you please let me know

  1. what can be return url and webhook url based on the assoumtion that my ip is http://127.0.0.1:8000
  2. do i need to write/write our own route and controller to handle web hook data and return url data or its all handled by package.

Forgive me if i am asking stupid question Thanks you

pocwork avatar Dec 11 '20 15:12 pocwork