Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #778 from abpio/auto-merge/rel-8-0/295
Browse files Browse the repository at this point in the history
Merge branch rel-8.1 with rel-8.0
  • Loading branch information
EngincanV authored Apr 1, 2024
2 parents 168f97a + 5ae2f79 commit d262a8f
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions en/modules/payment.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,44 @@ This page is used to send Name, Surname and Email Address of user to PayU.

### Admin Pages

### Angular UI

#### Installation

In order to configure the application to use the `PaymentModule`, you first need to import `PaymentAdminConfigModule` from `@volo/abp.ng.payment/admin/config` to the root module. `PaymentAdminConfigModule` has a static `forRoot` method which you should call for a proper configuration:

```js
// app.module.ts
import { PaymentAdminConfigModule } from '@volo/abp.ng.payment/admin/config';

@NgModule({
imports: [
// other imports
PaymentAdminConfigModule.forRoot(),
// other imports
],
// ...
})
export class AppModule {}
```

The `PaymentAdminModule` should be imported and lazy-loaded in your routing module as below:

```js
// app-routing.module.ts
const routes: Routes = [
// other route definitions
{
path: 'payment',
loadChildren: () =>
import('@volo/abp.ng.payment/admin').then(m => m.PaymentAdminModule.forLazy()),
},
];

@NgModule(/* AppRoutingModule metadata */)
export class AppRoutingModule {}
```

#### Payment plans page
Payment plans for subscriptions can be managed on this page. You can connect external subscriptions for each gateway to a plan.

Expand Down

0 comments on commit d262a8f

Please sign in to comment.