I'm trying to submit a paypal invoice to a customer after a certain amount of time has been tracked. How do I convert the curl request located https://www.x.com/developers/paypal/documentation-tools/invoicing/integration-guide/InvoiceAPIExamples to a php function?
My PHP library for PayPal has this already done for you. All you have to do is open up the CreateAndSendInvoice.php file and fill in the request parameters accordingly.