cancel
Showing results for 
Search instead for 
Did you mean: 

How do I change the shipping address?

Options
geemsolutions
Contributor
Posted on

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>

 

Haven't Found your Answer?

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