PhonePe API Integration Using Python Django| Python Django Guide to PhonePe API Integration | Django

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

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

  • @shridharjadhav2792
    @shridharjadhav2792 10 месяцев назад +1

    hello sir when i put amount equals to 1000 in my website but on phone pay gateway it shows 10 rs even in your case the amount is reduced by two 0s please explain

    • @gauravgupta3679
      @gauravgupta3679 10 месяцев назад

      It takes amount as paise, so just convert amount to *100

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

      @shridharjadhav2792 It takes paise, so whatever amount you have should be multiplied by 100. eg (1000 * 100) = 100000 this amount should be going to the payment gateway.

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

    but in the response of payment return function there is no user information so how do i know which user did the payment ?

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

      @shridharjadhav2792 This is very simple when you redirect before the payment please store your information either in session or in the database and then when you return back verify that information with some kind of primary identity like user_id or order_id or your any kind of primary identity

  • @sheelaat-q6e
    @sheelaat-q6e 6 месяцев назад

    Hi Sir, I am facing CORS error on redirecting the url in the response.

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

      You can pass the cross by using python django cross package or you can configure that on django itself. Please check the blow link. Cross should be happening in this case. www.stackhawk.com/blog/django-cors-guide/

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

    I cloned your git repostory and tested on my system this is the error I am getting how to solve that please help me

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

      What is the errors. You have not mentioned that

  • @ravihansda127
    @ravihansda127 10 месяцев назад +1

    Please make a video on Cashfree integration Django

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

      I will try that

  • @hodl5585
    @hodl5585 3 месяца назад

    I give you my project file, can help me please,

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

      @hodl5585 Don't need that please tell me what is the error you are facing

    • @hodl5585
      @hodl5585 3 месяца назад

      @@code-180 its not resirecting to payment page, its redirecting to current page