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
93 stars 42 forks source link

Wrong (old) PG URL #18

Closed plakhin closed 5 years ago

plakhin commented 5 years ago

According to APP Integrations section of the docs, production URL should be: https://securegw.paytm.in/theia/ Despite the fact everything works for the staging environment, for production https://secure.paytm.in/oltp-web/ is not usable anymore, as mentioned by Paytm support, and leads to "OOPS Payment failed due to any of these reasons..." page.

How can I change this URL?

plakhin commented 5 years ago

Just checked. Changing https://secure.paytm.in/oltp-web/ to https://securegw.paytm.in/theia/processTransaction helped.

anandsiddharth commented 5 years ago

Hi, Is this for app integration, please fork the repo and push the code to your branch and create a pull request to main repo.

plakhin commented 5 years ago

Nope, this for WEB integration to. Already busy with PR.

anandsiddharth commented 5 years ago

cool! so the production urls are updated you mean to say?

plakhin commented 5 years ago

Yes, both production and staging are updated. Please check https://business.paytm.com/developers-api/integration/payment-gateway/documentation. Old staging still works, though.

Just submitted a PR.

anandsiddharth commented 5 years ago

Merged and Released, https://github.com/anandsiddharth/laravel-paytm-wallet/tree/v1.0.8 Please test it and post here.

Thanks!

plakhin commented 5 years ago

Great! Thanks. WIll test now and report.

plakhin commented 5 years ago

Just tested. Staging works perfect. Production now redirects to right page, but needs real transaction to be sure everything works well. Asked client to make real transaction to test. Thank you for assistance.

anandsiddharth commented 5 years ago

Thank you! @plakhin Appreciate that. Will wait for your response.

Once confirmed everything is all well, we can close this issue.

plakhin commented 5 years ago

Finally tested in production. Works well. Thanks for assistance.