Add Productdescription to Price

Moonier
Neues Community Mitglied

Hey,

 

i have added the Smart Buttons of Paypal to my Website. Now i have tested a Payment and seen, that the Price is showing without a Productdescription.

How i can add there the Productname to the Price?

 

And:

If the Visitor choose 3 Products. How can i add the Prices as 3 Products to Paypal with their Price?

 

This is my Code:

Spoiler

<script>
paypal.Buttons({
  createOrder: function(data, actions) {
  return actions.order.create({
          purchase_units: [{
              amount: {
                 value: <?= $_SESSION["gesamtpreis"]; ?>
                }
          }]
        });
},
onApprove: function(data, actions) {
return actions.order.capture().then(function(details) {

 

});
}
}).render('#paypal-button-container');
</script>

Login to Me Too
1 ANTWORT 1

PayPal_Felina
Moderator
Moderator

Hey Moonier,

 

thank you for your message.

 

Please contact our Merchant Technical Support.

 

My colleagues will be happy to help you. 

 

Greetings

Felina


Ihr seid unsere Community - wir freuen uns auf jede Interaktion von und mit euch.
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.