For Sample Purposes Only.
Lets update some information
sample, to get past the bug in PayPal APIs. There is already an internal ticket #PPTIPS-1932 created for it.
Update an invoice by calling the invoice->update() method
with a valid ApiContext (See bootstrap.php for more on ApiContext
)
Retrieve the invoice object by calling the
static get
method
on the Invoice class by passing a valid
Invoice ID
(See bootstrap.php for more on ApiContext
)
Update Invoice Sample
This sample code demonstrate how you can update an invoice.