Open Closed

Integrating Payment module in Blazor Server #9559


User avatar
0
abhisheksreesaila created

Provide us with the following info: 🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.

  • ABP Framework version: v9.1.0
  • UI Type:Blazor Server
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I referred to these links and trying to integrate STRIPE Subscription Payment into my app. I am very close. Wanted to get help on the issue.

https://abp.io/support/questions/7829/Questions-about-the-integration-of-the-payment-module-in-Blazor https://abp.io/support/questions/8825/Cannot-navigate-to-stripe-gateway

I setup stripe plan + gateway plan (grab the product id from stripe dashboard) as per documentation. I setup webhooks in stripe. I create a payment request. I want to redirected to the payment checkout page. Redirect is not working. What should I do?


4 Answer(s)
  • User Avatar
    0
    abhisheksreesaila created

    I also dont get the "plan" in SAAS edtions. any idea why?

  • User Avatar
    0
    abhisheksreesaila created

    added using Volo.Payment; [DependsOn(typeOf(AbpPaymentWebModule))]

    Now, I think its trying to call the endpoint for redirect. Trying to fix the next error.

  • User Avatar
    0
    abhisheksreesaila created

    https://abp.io/support/questions/2251/Payments-Module-UI---Blazor-Server I added references to ** Volo.Payment.Stripe.Web.**

    How do we redirect reliably in Blazor?

    code behind

    Controller

  • User Avatar
    0
    abhisheksreesaila created

    Update : Since I ma using BLAZOR SERVER,** I used MVC** to create this payment UI, and used the


    added this code

    Configure<PaymentWebOptions>(options => { options.RootUrl = configuration["App:SelfUrl"]; options.CallbackUrl = configuration["App:SelfUrl"] + "/PaymentSucceed"; });

    And finally used the PRICE code (not the product code) as EXTERNAL ID and it worked.


Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on July 09, 2025, 06:20