-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1339e12
commit a74a184
Showing
4 changed files
with
38 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
<div class="container"> | ||
<div class="display-4 p-3">Title: {{ title }}</div> | ||
<h5>Result name: {{ results.name }} </h5> | ||
|
||
<div>You have not paid yet</div> | ||
<!-- <app-test-comp (payment)="letMeKnow($event)"></app-test-comp> --> | ||
<div class="display-4 py-4 px-1 text-center bg-primary text-white">Angular4 Paystack</div> | ||
<div class="text-center lead">{{ title }}</div> | ||
<div class="paystack-buttons text-center d-md-flex d-lg-flex d-xl-flex justify-content-between"> | ||
<angular4-paystack | ||
class="m-3" | ||
[class]="'btn btn-primary m-3'" | ||
[key]="'pk_test_c613fc7d428a64fd1e5daea22f8380551b28c78e'" [email]="'mailexample@mail.com'" | ||
[amount]="'5000000'" [ref]="tRef" (close)="paymentCancel()" (callback)="paymentDone($event)" | ||
[class]="'btn btn-primary'" | ||
>Pay With Paystack</angular4-paystack> | ||
>Pay With Paystack component</angular4-paystack> | ||
|
||
<button | ||
class="btn btn-danger m-3" | ||
angular4-paystack | ||
[key]="'pk_test_c613fc7d428a64fd1e5daea22f8380551b28c78e'" [email]="'mailexample@mail.com'" | ||
[amount]="'5000000'" [ref]="tRef" (close)="paymentCancel()" (callback)="paymentDone($event)" | ||
[class]="'btn btn-primary btn-lg'" | ||
>Pay With Paystack</button> | ||
</div> | ||
>Pay With Paystack Directive</button> | ||
</div> | ||
<h3 class="text-center my-3">Paystack Embed</h3> | ||
<angular4-paystack-embed | ||
angular4-paystack | ||
[key]="'pk_test_c613fc7d428a64fd1e5daea22f8380551b28c78e'" [email]="'mailexample@mail.com'" | ||
[amount]="'5000000'" [ref]="tRef" (close)="paymentCancel()" (callback)="paymentDone($event)" | ||
[class]="'btn btn-primary btn-lg'" | ||
></angular4-paystack-embed> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters