anandsiddharth / laravel-paytm-wallet

Integrate paytm wallet in your laravel application easily with this package. This package uses official Paytm PHP SDK's.
MIT License
94 stars 42 forks source link

Update README.md #17

Closed bhavinjr closed 6 years ago

bhavinjr commented 6 years ago

callback URL updated. have to pass ORDER_ID in URL param

anandsiddharth commented 6 years ago

Why is ORDER_ID Required on callback_url? The callback URL is a POST method URL which has all the information regarding transaction including ORDER_ID.

anandsiddharth commented 6 years ago

Doesn't make sense - you have to send order id for each payment request, you send order id along with other information e.g. amount. when you get a callback it reaches the controller via POST method which will have required information.

I am pretty much sure you have miss understood the documentation - try integrating the way its documented - if you encounter error then raise a issue or raise a pull request fixing that issue

Peace.