Adding option to include invoiceNumber in PayPalPayment.

I need set the invoiceNumber in my project to associate Paypal payments with my own payment records that i need to create before launch the singlePaymentUI.
I put invoiceNumber as part of the extra param, so that if someone adds 
the custom property, it can be part of this param, something like this:

new PayPalPayment('50.00', 'USD', 'X Sale', 'sale', details, {
     invoiceNumber: 'invoiceX123',
     custom: 'customX123'
});

On 27/10/14 11:20 am, Roman wrote:
>
> In www/paypal-mobile-js-helper.js:
>
> > @@ -23,13 +23,18 @@ function PayPalPaymentDetails(subtotal, shipping, tax) {
> >   * @param {String} intent: Sale for an immediate payment or Auth
> >   *                 for payment authorization only, to be captured separately at a later time.
> >   * @param {PayPalPaymentDetails} details: PayPalPaymentDetails object (optional)
> > + * @param {object} extra: Other properties for the payment, currently only invoiceNumber is implemented (optional)
>
> invoiceNumber must be string
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/paypal/PayPal-Cordova-Plugin/pull/32/files#r19416128>.
>