payment: function (data, actions) {
return actions.payment.create({
payment: {
transactions: [
{
amount: {
total: '0.01',
currency: 'EUR'
我有这个功能。我想通过id将html页面中的值传递给“ total”字段,以替换0.01。我该怎么办?