Open Closed

Payment Module UI angular JS #6965


User avatar
0
i.ullah@fandaqah.com created

Added payment module from ABP suite but did not find payment section from front end side. also after adding payment module error occurs while build source code.

  • ABP Framework version: v8.0.5
  • 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:NU1104 Unable to find project '.....\Volo.Payment.Web.csproj'. Check that the project reference is valid and that the project file exists. Volo.Payment.Alipay.Web ....aspnet-core\modules\Volo.Payment\src\Volo.Payment.Alipay.Web\Volo.Payment.Alipay.Web.csproj
  • Steps to reproduce the issue:just to add payment module from ABP Suite.


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

    Hi,

    I can reproduce the problem.we will fix it. Your ticket was refunded.

    You can remove Volo.Payment.WeChatPay.Web and Volo.Payment.Alipay.Web projects.

    And add @volo/abp.ng.payment to package.json

    Config Payment Angular Module

    .....
    import { PaymentAdminConfigModule } from '@volo/abp.ng.payment/admin/config';
    
    .....
    
    PaymentAdminConfigModule.forRoot(),
    
    {
    path: 'payment',
    loadChildren: () =>
      import('@volo/abp.ng.payment/admin').then(m => m.PaymentAdminModule.forLazy()),
    }
    
  • User Avatar
    0
    i.ullah@fandaqah.com created

    Hi,

    I can reproduce the problem.we will fix it. Your ticket was refunded.

    You can remove Volo.Payment.WeChatPay.Web and Volo.Payment.Alipay.Web projects.

    And add @volo/abp.ng.payment to package.json

    Config Payment Angular Module

    ..... 
    import { PaymentAdminConfigModule } from '@volo/abp.ng.payment/admin/config'; 
     
    ..... 
     
    PaymentAdminConfigModule.forRoot(), 
    
    { 
    path: 'payment', 
    loadChildren: () => 
      import('@volo/abp.ng.payment/admin').then(m => m.PaymentAdminModule.forLazy()), 
    } 
    

    Hi, in which project's package.json we add '@volo/abp.ng.payment' and for angular going to add reference in app.module.ts file under the following path: .....\angular\src\app\app.module.ts

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    The Angular project's package.json

  • User Avatar
    0
    i.ullah@fandaqah.com created

    The Angular project's package.json

    Working now. thanks

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15