[英]How to display the total amount in Paypal shopping cart details
In the Paypal shopping cart details, is there a way to display the total amount (unit_amount * quantity) instead of unit_amount only in my case I want to display 13.00€ instead of 6.50€ I'm using the javascript SDK
items: [{
name: '2 x Gauffres',
description: 'Chantilly, Nutella',
unit_amount: {
currency_code: 'EUR',
value: 6.50
},
quantity: 2
}]
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.