Fix checkout payment memo
This commit is contained in:
parent
b5885517e9
commit
de1a19ffd0
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue