Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.68 KB

File metadata and controls

40 lines (26 loc) · 1.68 KB

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

  • 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