How do I change the shipping address?

geemsolutions
Contributor
Contributor

I want to change the shipping address that is shown during the checkout.

 

I found that thing in the documentation but I have no idea on how to implement it.

 eveloper.paypal.com/docs/api/payments/v2/#definition-address_portable

 

Here's what my script looks like, where and how do I add the address change?

 

<script>   
paypal
.Buttons({

createOrder
: function(data, actions) { return actions.order.create({
purchase_units
: [{
amount
: {
value
: '<?=$total?>' },
description
: '<?=$description?>' }] }); } // Skipped... </script>

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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