Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
CYHFREDA authored Oct 17, 2024
1 parent e3cd1ef commit b6ac411
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions backend/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,19 +242,8 @@ app.post('/api/create-payment', async (req, res) => {
amount,
currency,
orderId,
packages: [
{
amount,
products: [
{
name: "這是好吃的",
imageUrl: "https://pay-store.example.com/images/product.jpg",
quantity: 1,
price: amount,
},
],
},
],
productName: "這是好吃的",
productImageUrl: "https://pay-store.example.com/images/product.jpg",
confirmUrl: "/api/transaction",
};

Expand Down

0 comments on commit b6ac411

Please sign in to comment.