The payments UI seems to be only availalbe for MVC, and partially for Webassembly. Is this correct? I looked at the documentation, and the samples, but their doesn't seem to be anything that targets Blazor Server.
Any recommendations in regars to UI setup? If not, I will just have to build it out.
6 Answer(s)
- 
    0Hi @marketbus, the payment module is available for MVC (public and admin sides), Blazor Server and Blazor Wasm (admin side) . - You should be able to integrate the Payment module to your application by following this documentation. Did you encounter any problems after examining and applying the document?
 
- 
    0After you mentioned that the Admin page was include, I had a look at my main Blazor project and none of the payment modules were added to that project aby ABP Suite (4.4.3). So I manually added them. After that I received an Automapper exception complaining about Extraproperties being null. So I went into ExtensionsConfigurator and added an additional property and that seemed to do the trick and it's working now. However, for the Public UI side of things, I guess we should just build that porition out? 
- 
    0There is currently no documentation / code examples for using the payments module to process a payment from end to end using blazor server. Could you provide an example? PaymentWebOptions for example, is not included in the default nugets for blazor server. 
- 
    0Hi @marketbus We haven't tried payment module with a Blazor Server app to get a payment. The flow of payment process is really simple, you can see it here https://docs.abp.io/en/commercial/latest/modules/payment#one-time-payments. When the payment succeeds, the payment module will redirect user to the URL provided CallbackUrlin PaymentWebOptions.Then, you can handle the result in your Blazor app. Let me know if you have any confusions. 
- 
    0In my opinion, stating that the payment process is really simple when you haven't tried it, and your documentation is geared towards MVC, is not really helpful. I am not able to get the Payment to succeed so I am not sure how CallbackUrlinPaymentWebOptionswould be helpful. ThePaymentWebOptionsis also geared towards an MVC application.It would be very helpful if you could provide some sample code or update your documentation to include Blazor Server. 
- 
    0Hi @marketbus You are right, PaymentWebOptionsis for MVC projects. Payment module's public UI (for retrieving payment from customer) is only available for MVC (Razor) projects, so you need to host payment module in an MVC project.
 
                                