1234567891011121314151617181920 |
- using Microsoft.AspNetCore.Mvc;
- [ApiController]
- [Route("api/[controller]")]
- public class CallbackController : ControllerBase
- {
- [HttpGet("review")]
- public IActionResult CheckoutReview()
- {
- // Handle review page logic
- return Ok("Review page");
- }
- [HttpGet("result")]
- public IActionResult CheckoutResult()
- {
- // Handle payment result logic
- return Ok("Result page");
- }
- }
|