Using Payment gateway in ASP.NET

Adeel Mirza 21 Reputation points
2024-10-03T13:22:57.14+00:00

How can I use this payment gateway WebAPI request in my ASP.NET C# application?

[https://smartgateway.hdfcbank.com/docs/hypercheckout-mobile-sdk/web/how-to-integrate-sdks/create-an-order-to-open-payment-page]

The examples in this link are in MVC. So I am clueless how I can achieve it in ASP.NET

Developer technologies ASP.NET Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2024-10-03T17:57:27.97+00:00

    they are just endpoints that return json. while you could probably use ajax web services, or asp.net handler it is probably easier to just add web api support to your application.

    https://learn.microsoft.com/en-us/aspnet/web-api/overview/getting-started-with-aspnet-web-api/using-web-api-with-aspnet-web-forms

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.