Use REST Api to create an order for an item that is not shippable / digital goods

sunbreak
Contributor
Contributor

I am using the "v2/checkout/orders" to create an order for a digital service that will never be shipped, the user is allowed to execute a conversion on a website. I have tried below marking the item as a "Digital Goods" and Paypal is still asking me for shipping information. Is there a way to create an item that is a digital service that won't require shipping?

 

Here's my Json I am sending in (in C# format):

 

intent = "CAPTURE",
purchase_units = new dynamic[]
{
new
{
amount = new
{
currency_code = "USD",
value = $"{_payPalOptions.Fee}",
breakdown = new
{
item_total = new
{
currency_code = "USD",
value = $"{_payPalOptions.Fee}",
},
},
},
items = new dynamic[]
{
new
{
category = "DIGITAL_GOODS",
name = "Conversion",
unit_amount = new
{
currency_code = "USD",
value = $"{_payPalOptions.Fee}",
},
quantity = "1",
},
},
},
},
});

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.