diff --git a/CHANGELOG.md b/CHANGELOG.md index bff525d..0c5f5fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Fixed +- Fixed order memo for checkout - Fixed display of amounts in item list when using *zatoshis* - Fixed sorting of items in list - Fixed sorting of orders in list diff --git a/src/app/checkout/checkout.component.ts b/src/app/checkout/checkout.component.ts index 5298fc0..815afe0 100644 --- a/src/app/checkout/checkout.component.ts +++ b/src/app/checkout/checkout.component.ts @@ -28,7 +28,7 @@ export class CheckoutComponent implements OnInit{ this.address = data.addr; this.total = data.totalZec; this.orderId = data.orderId; - this.codeString = `zcash:${this.address}?amount=${this.total.toFixed(6)}&memo=${URLSafeBase64.encode(Buffer.from('Z-Go Order '.concat(this.orderId)))}`; + this.codeString = `zcash:${this.address}?amount=${this.total.toFixed(8)}&memo=${URLSafeBase64.encode(Buffer.from('ZGo Order::'.concat(this.orderId)))}`; this.zcashUrl = this.sanitizer.bypassSecurityTrustUrl(this.codeString); }