REST Invoicing - recipient email not being sent
BenGuri
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jun-10-2020
09:08 PM
I'm trying to figure out why invoices are not being emailed to the recipients, upon invoking the 'send' API, I'm answered with HTTP 200 (not HTTP 202 like described in the documentation), the response includes the content:
{
"rel": "payer-view",
"method": "GET"
}
link is working, but the invoice is not emailed.
this is the the "create draft" request content:
{
"detail": {
"currency_code": "USD",
"note": "Thank you for your business."
},
"invoicer":
{
"business_name":"myBusiness",
"website":"https://www.myBusiness.com",
"logo_url":"https://www.myBusiness.com/logos/myBusiness.png"
},
"primary_recipients": [
{
"billing_info": {
"email_address": {RECIPIENT_EMAIL_ADDRESS}
}
}
],
"items": [
{
"name": "Apple",
"quantity": "1",
"unit_of_measure":"AMOUNT",
"unit_amount": {
"currency_code": "USD",
"value": "50.00"
}
}
]
}
the response is also shorter than what I should be receiving per the documentation:
{
"rel": "self",
"method": "GET"
}
Labels:
- Labels:
-
Invoicing REST APIs
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.
Related Content
- Problems with accent characters when calling Paypal API (v2/invoicing/invoices). in REST APIs
- The current address of the company in REST APIs
- My webhook stopped working 2 weeks ago in REST APIs
- Refunding an order via HATEOAS URL failing with NOT_AUTHORIZED error in Sandbox Environment
- Shopify invoice numbers on Paypal transactions in Sandbox Environment