Skip to content

Commit

Permalink
[Implement][EF-182][Order,Payment]Integrate MOMO, update redirectUrl …
Browse files Browse the repository at this point in the history
…Momo
  • Loading branch information
MinhhTien authored and nghiavohuynhdai committed Mar 6, 2024
1 parent 4267661 commit 4e89b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/order/services/order.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class OrderService {
const createMomoPaymentDto: CreateMomoPaymentDto = {
partnerName: 'FURNIQUE',
orderInfo: `Furnique - Thanh toán đơn hàng #${orderId}`,
redirectUrl: `${this.configService.get('WEB_URL')}`,
redirectUrl: `${this.configService.get('WEB_URL')}/customer/orders`,
ipnUrl: `${this.configService.get('SERVER_URL')}/payment/webhook`,
requestType: 'payWithMethod',
amount: totalAmount,
Expand Down

0 comments on commit 4e89b57

Please sign in to comment.