Starts in:
1 DAY
11 HRS
9 MIN
18 SEC
Starts in:
1 D
11 H
9 M
18 S

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

Contributors


Last updated: August 18, 2022 Edit this page on GitHub

Was this page helpful?

Please make a selection.

To help us improve, please share your reason for the negative feedback in the field below.

Please enter a note.

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
Community Talks

What’s New with .NET 9 & ABP 9?

21 Nov, 17:00
Online
Watch the Event
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.

Learn More