Starts in:
2 DAYS
8 HRS
13 MIN
1 SEC
Starts in:
2 D
8 H
13 M
1 S
Open Closed

Payment Module to use with Tenant to collect payment from their customers. #7392


User avatar
0
vipulbuoyancy created
  • ABP Framework version: v8.1.0
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I was elaborating payment module to use with the each tenant. But couldn't find any way or related documents. Basically I want to give a feature to each tenant so they can collect amount from their customers using stripe or paypal etc.. But each tenant have their separate configuration for different payment gateway.

Can you please suggest me if there is any way, so I can use the payment module with my scenario to give a payment configuration for each tenant & use the existing payment module?

Thank you.


3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    The Payment module is designed for the Host side.

    If you want to use it in tenants, you need to customize the source code.

    You can download the payment module source code via the ABP suite.

    • Change the entity to a multi-tenant entity
    • Change permissions menu etc., available to tenants

    Change the ConfigurePayment method

    You can define payment configuration settings and have them read every time you use them, for example:

    https://github.com/abpframework/abp/blob/10f756bae69a72ba5741dcd10758ee3d8f5cd724/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpIdentityOptionsManager.cs#L11

    https://github.com/abpframework/abp/blob/10f756bae69a72ba5741dcd10758ee3d8f5cd724/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpIdentityDomainModule.cs#L72

    https://github.com/abpframework/abp/blob/10f756bae69a72ba5741dcd10758ee3d8f5cd724/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml.cs#L98

  • User Avatar
    0
    vipulbuoyancy created

    Hi liangshiwei,

    Thank you for your help. I am on a Team license, so I don't have an access of the code. Is there any way I can override the setting and use this module for the tenants?

    Thank you

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi

    Sorry, It can't be done without source code at the moment

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06