PhonePe API Integration Using Node.js | Mastering PhonePe Integration with Node.js | Node JS

Поделиться
HTML-код
  • Опубликовано: 19 дек 2024

Комментарии •

  • @terrible5991
    @terrible5991 Год назад

    where would i get salt key, key Index , and merchantId for testing purpose??

    • @code-180
      @code-180  Год назад

      It is inside the official phone pay documentation that I have shown in the video.

    • @terrible5991
      @terrible5991 Год назад

      will the sane thing work in v4 as well

    • @code-180
      @code-180  Год назад

      If that is said in the document then it should.

    • @CivilCodeChef
      @CivilCodeChef 9 месяцев назад

      can i try with the test key and id
      @@code-180

  • @bragadeeshs7444
    @bragadeeshs7444 7 месяцев назад

    how to use saved card details and redirect to payment instead of going to phonepe gateway and entering the card details.

    • @code-180
      @code-180  7 месяцев назад

      @bragadeeshs7444 Then you have to make the interface at the first where user will entering the card detsils and after saving the card details you can redirect the user to the payment gatweay. But this strongly not recommended as this process has lot of problem storing this senstaive inofrmtion in you db. .

  • @MuthuLakshmi-im1xm
    @MuthuLakshmi-im1xm Год назад

    i can get response only in redirect URL not callback URL,how to get s2s response in callback URL?

    • @code-180
      @code-180  Год назад

      ok, The first thing is both the URLs should be the same if we use redirectMode == "POST" If you make it "REDIRECT" then you will get the response in the redirect URL if you want to get it on callback URL then use the mode should POST and not redirect.

    • @MukulMishra-r5c
      @MukulMishra-r5c Год назад

      @@code-180 hello, using angular nd node js for payment, I am successfully getting the payments , but after s2s callback is finished on ejs page, how do I get data back from ejs to localhost angular app ? and how do I make the angular app wait to see if payment is processed ?

    • @code-180
      @code-180  Год назад +1

      Now this is very simple if you think of something like this when you generate the request it first goes from your frontend to the backend. Now backend api gives you only url in return so that you get that url and angular will redirect that to the phone pay page. Now the phone payload have a redirect url and a call back url and redirect mode the redirect mode will be "post" and the call back url and redirect will be the same the url this url will be a node js url. When you get the respond you will redirect to the angular page. Note the url in the call back and redirect url is not a api url it is normal express url which will verify the details of the payment as in my code and redirect to angular website with a success or failure message.

    • @MukulMishra-r5c
      @MukulMishra-r5c 11 месяцев назад

      @@code-180 makes sense

  • @shashwatsingh2748
    @shashwatsingh2748 11 месяцев назад

    Can you show me how to integrate PhonePe payment gateway in React.js as front-end and Node.js as back-end ?
    I am getting CORS policy Error while implementing With React.js and Node.js

    • @code-180
      @code-180  11 месяцев назад +1

      @shashwatsingh2748 I don't think CORS will be a big problem as there are tons of videos about it, please allow the react URL in the node.js backend and it will solve the problem.

  • @arymangupta3524
    @arymangupta3524 Год назад

    it is not working with production credentials api is worng?

    • @code-180
      @code-180  Год назад

      This will not work, the product API URL are different it is mentioned in the document.

  • @PijushManna-x1k
    @PijushManna-x1k Год назад

    payments are working but health check status api is not working (both is testing with test key and test merchantid) any solution it gives 500 error when health check status

    • @code-180
      @code-180  Год назад

      To less info to guess the error, but what i think is there should be something missing in the status API. Key point of check the API URL for AXIO URL status URL are different, Checksum is created properly, or it may be when after successful payment the payment id and transaction id is not being pass properly match the code with my code line by line and I think will found out the error. There must be a error the computer can never be wrong.

  • @omprakash-qv6fo
    @omprakash-qv6fo 9 месяцев назад

    bro...is it paid service or free use in developer account?

    • @code-180
      @code-180  9 месяцев назад

      It is a paid payment gateway but integration and testing is free.

  • @saikrishnabadineedi3458
    @saikrishnabadineedi3458 Год назад

    Beautiful brother, I am trying to implement in java.

  • @try-b2k
    @try-b2k 10 месяцев назад

    npm install isn' t working

  • @sannithnalluri5314
    @sannithnalluri5314 Год назад +1

    Please do with python and fastapi

    • @code-180
      @code-180  Год назад

      Will try that

    • @sannithnalluri5314
      @sannithnalluri5314 Год назад

      Thankyou waiting for you lesson
      @@code-180

    • @code-180
      @code-180  Год назад

      @sannithnalluri5314 This is the video you have ask for - ruclips.net/video/Vpl6-ba-LoM/видео.html

  • @ishratkhan007
    @ishratkhan007 9 месяцев назад

    worse never ever try phonepe because of support. (Worse support i ever saw in my 10 year of exp.)