Version

ABP Version 5.2 Migration Guide

This document is a guide for upgrading ABP 5.1 solutions to ABP 5.2. Please read them all since 5.2 has some changes you should take care.

See ABP Framework migration guide for the changes made in the ABP Framework.

Payment Module

Payment Module has some breaking changes. If you're using payment module, applying following steps carefully is highly recommended.

After all of those changes, the biggest change is Payment Module will work properly if you're using Tiered solution.

  • Currency parameter is a required parameter for One Time payment requests. You have to pass that parameter for each PaymentRequestCreateDto.

    await _paymentRequestAppService.CreateAsync(new PaymentRequestCreateDto
    {
        Currency = "USD", // Must be 3 letter ISO name.
        // ...
    });
    
  • Volo.Payment.Stripe.HttpApi package is no longer exists. All requests & webhooks are handled by Volo.Payment.HttpApi.

    • Remove Volo.Payment.Stripe.HttpApi package from your project.
    • If you haven't added add Volo.Payment.Stripe.Domain to your Domain layer.
  • Move your configurations to the HttpApi.Host in tiered solutions. The web Layer doesn't contain the entire logic from now. So, you need to move your configurations to where Application layer works.

  • Stripe webhook URL has been changed. Replace yourdomain.com/payment/stripe/webhook with

    yourdomain.com/api/payment/stripe/webhook
    

See Also

Was this page helpful?
Please make a selection.
Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

In this document
Mastering ABP Framework Book
Mastering ABP Framework

This book will help you gain a complete understanding of the framework and modern web application development techniques.