Skip to content

Commit

Permalink
Add amount to price data
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirch committed Aug 20, 2023
1 parent 796d0c2 commit 95f82d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/payment_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ impl PaymentClient {
name: format!("Payment from {}", payment_request.sender),
..Default::default()
}),
unit_amount: Some(payment_request.amount),
..Default::default()
}),
quantity: Some(1),
Expand Down

0 comments on commit 95f82d6

Please sign in to comment.