Unverified Commit bac66c93 authored by Ruslan Konviser's avatar Ruslan Konviser Committed by GitHub
Browse files

Merge pull request #1070 from ever-co/fix/orderId-Payment-Stage

fix: send correct order id on Payment with Stage
parents eb09b06b 5e622cc6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -89,13 +89,13 @@ export class PaymentComponent {

					try {
						let order = await this.orderRouter.payWithStripe(
							this.store.userId,
							this.store.orderId,
							cardId
						);
						console.log('Payment Done!');
						try {
							order = await this.orderRouter.confirm(
								this.store.userId
								this.store.orderId
							);
							console.log('Order Confirmed!');
						} catch (err) {