samyam-a / PayTM-PhoneGap-Plugin

Enables integration of PayTM Mobile Payments into a Cordova/Phonegap/Ionic based hybrid app.
5 stars 22 forks source link

Callback Url after payment transaction #8

Open jerinjose opened 7 years ago

jerinjose commented 7 years ago

Hi,

I integrated the cordova paytm plugin.It is working fine in my ionic app. But after successful transaction, it is redirecting to callback url which i specified. It is not coming back to app itself. If i not specified the call back url, it is redirecting to error page.How i can get the response to the app itself ?

Please help me to sort out this problem.

Thanks

poojashah511 commented 7 years ago

You need to contact paytm ppl only. I faced same problem. They helped and it worked

jerinjose commented 7 years ago

@poojashah511 Thanks for your response. What you did for solving this issue ?

poojashah511 commented 7 years ago

They said there is some problem in verfication checksum file. I used single quote for php response. They told to use double quote.

poojashah511 commented 7 years ago

You can ask in their discussion forum. It would surely start.

jerinjose commented 7 years ago

Hi @poojashah511 I contacted the paytm people. They asked the checksum verification url.But now the response is coming to this checksum verification url, instead of callback url. Earlier I specified the callback url, the paytm server reponse is coming back to cakkback url. Now it is coming back to checksum verification url. The response from paytm server is not coming back to app.

poojashah511 commented 7 years ago

You write now your query on discussion forum. They only fixed this. I also faced same .but it worked after few hrs.

jerinjose commented 7 years ago

@poojashah511 I will contact them and try to find the solution. Thanks

jerinjose commented 7 years ago

@poojashah511 Thanks Pooja. I contacted them. Now its working perfectly fine.

poojashah511 commented 7 years ago

Can you ask them? What changes that they did so that it redirected back to app?

jerinjose commented 7 years ago

@poojashah511 Ya. After all the discussion, they asked the checksum verification url. I think, they configured the checksum url as a call back url in their server. Now, the response is coming to this checksum verification url. After that, it automatically redirecting to app with success/error response.

poojashah511 commented 7 years ago

Ok cool thank you so much

naveen888250 commented 7 years ago

hey pooja ,

can you help me i am installing the plugin but when i am calling plugin api its giving me errors

poojashah511 commented 7 years ago

May be u haven't installed properly.. You can use some proper IDE so it gives suggestions related to plugin you install. If not installed properly it will give nosuggestions

govindat415 commented 5 years ago

The result I am getting when using the plugin is a 'cannot post /' page. Is that the issue that was solved by getting the verification URL fixed?

jrahul2010 commented 4 years ago

hi @govindat415

even I am facing the same issue -> 'cannot post /' Did you find the solution for the same?

priyesh-shukla commented 4 years ago

call back url issue not able to open paytm payment page in angular 8.show redirecting msg?Please help how can i solve this issue.

shrutisik commented 4 years ago

Call back Url is basically a post API so try to give the "CALLBACK_URL" parameter Post API's path and further redirect to the html page you want after successful payment.

SAHEB24027824 commented 4 years ago

i have done the same thing , i have the post callback api which i am setting in checksum configuration ,,,,, few times back it was working now its not able to find the endpoint, ... anyone have idea to fix it

Bhupesh25 commented 4 years ago

Hey there i have my developer account how can i configure callback url can anybody guide me please?

shrutisik commented 4 years ago

@SAHEB24027824 Try giving https instead of http in your callback url if your application is supporting https.

ghost commented 3 years ago

I was trying to integrate paytm 2 step js integration in my react app, but the response which I am getting at my call back url from paytm does not have any body. It is an empty object, but my payment status are updating in my dashboard. Any solution for this.