Integrate PayUMoney payment gateway in dot net core.

This article will explain how to integrate PayUMoney into dot net core.

Step 1: Register yourself with Payu.in by visiting

  • Step 1: Register yourself with Payu.in by visiting (https://payu.in/)
  • Step 2: Get your API key and salt from their website.
  • Step 3: Add below code in
    1. ConfigureServices section
    2. services.AddMvc(option
    3. option.EnableEndpointRouting = false);
  • Step 4: and in Configure app.UseMvc();
  • Step 5: Add a controller (in our case, HomeController).
  • Step 6: Create Action (Payment in my case) in Home
  • Step 7: Create another Action(Return) in Home Controller and write below code as shown below:
  • Step 8: On the Checkout button click event write: return LocalRedirect(“/Home/Payment”);

8 Comments

  1. whoiscall

    July 27, 2023 at 10:35 am

    Thx

    Reply
  2. pubg uc

    January 10, 2024 at 4:34 pm

    Thanks for thr great article!

    Reply
  3. boostaro

    January 21, 2024 at 2:21 am

    Thank you so much!

    Reply
  4. immediate eprex

    January 22, 2024 at 5:36 pm

    Thank you so much!

    Reply
  5. sight care

    January 28, 2024 at 12:01 am

    Thanks for thr great article!

    Reply
  6. bedeva bonus veren siteler

    February 3, 2024 at 1:44 am

    Thank you so much!

    Reply
  7. penimed jel

    February 7, 2024 at 2:02 am

    Thanks for thr great article!

    Reply
  8. Locksmith Seattle usa

    February 11, 2024 at 3:56 pm

    Thanks for thr great article!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *