Skip to content

Commit

Permalink
fix(payment): Change from "bitpay" to "coinbase" payment method.
Browse files Browse the repository at this point in the history
  • Loading branch information
gtandersen committed Jun 1, 2024
1 parent cb7ae4b commit 1eaba01
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/account-app/account-receipt.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h2>
</p>
</table>

<div *ngIf="receipt.status == 1 && receipt.method === 'bitpay'">
<div *ngIf="receipt.status == 1 && receipt.method === 'coinbase'">

Check warning on line 72 in src/app/account-app/account-receipt.component.html

View workflow job for this annotation

GitHub Actions / Run lint tests

Expected `===` but received `==`
<h3> Cryptocurrency transfer </h3>

<p>
Expand Down
2 changes: 1 addition & 1 deletion src/app/account-app/shopping-cart.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h4>
logo="/_img/pay/bitcoin.png"
logo_alt="Bitcoin logo"
disable_payment="{{total <= 0}}"
(clicked)="initiatePayment('bitpay')"
(clicked)="initiatePayment('coinbase')"
>
<h4>
Pay with cryptocurrencies using Coinbase
Expand Down
2 changes: 1 addition & 1 deletion src/app/account-app/shopping-cart.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export class ShoppingCartComponent implements OnInit {
dialogRef = this.dialog.open(StripePaymentDialogComponent, {
data: { tx }
});
} else if (method === 'bitpay') {
} else if (method === 'coinbase') {
dialogRef = this.dialog.open(BitpayPaymentDialogComponent, {
data: { tx }
});
Expand Down

0 comments on commit 1eaba01

Please sign in to comment.