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
92 stars 40 forks source link

How to use gateway only for particular payment mode? #57

Open anand-bhagat opened 3 years ago

anand-bhagat commented 3 years ago

I want to accept payment through UPI only. But actually I am not getting UPI option others are visible as show in the attached screenshot screencapture-securegw-stage-paytm-in-theia-processTransaction-2020-08-25-15_16_21 . So I read Paytm documentation and I got to know that by sending a parameter enablePaymentMode I can allow the particular channel only as show here https://developer.paytm.com/docs/initiate-transaction-api/ . But I am not able to send that parameter.

KingOfNoobs commented 3 years ago

@anand-bhagat As mentioned in the documentation this package works on PHP SDK, which is different then API. The link that you have shared is an API and not a part of PHP SDK. Currently PHP SDK does not allow to choose payment methods as no such options exists to do according to the official docs. Better use Paytm API for it.