Reply
Member
Posts: 2
Registered: ‎11-10-2016

PayPal Express Checkout for Authorize.Net

Reviewing the integration API reference docs and conducting tests, I can't seem to find how to pass the Invoice Number with a createTransactionRequest for PayPal Express Checkout.

 

Where in the namespace can we define the "Invoice Number". I expected to find it under "Orders", but it appears that node doesn't exist.

 

 

Thanks,

Posts: 2,473
Topics: 54
Kudos: 189
Blog Posts: 66
Registered: ‎12-05-2011

Re: PayPal Express Checkout for Authorize.Net

@deklerk

 

hmm...  It should work by adding the order element as shown below.  I have someone checking but you might give it a whirl and let us know if our documentation is wrong.

 

    
</payment>
  <order>
    <invoiceNumber>INV-12345</invoiceNumber>
    <description>Product Description</description>
  </order>
<lineItems>

Build modern websites and mobile applications without increasing PCI burden using Authorize.Net Accept
Member
Posts: 2
Registered: ‎12-17-2016

Re: PayPal Express Checkout for Authorize.Net

You are correct.

 

Simply adding that allows us to post invoiceNumber to the API. We are also able to send billTo details.

 

Since we are using PHP and the JSON API, our solution looks like this:

'order' => array(
    'invoiceNumber' => $id,
    'description' => 'Lorem ipsum',
),
'billTo' => array(
    'firstName' => 'John',
    'lastName' => 'Doe',
    'phoneNumber' => '555-555-5555'
),

However, this is NOT documented in the API reference under PayPal checkout:

http://developer.authorize.net/api/reference/#paypal-express-checkout-authorization-and-capture

Posts: 2,473
Topics: 54
Kudos: 189
Blog Posts: 66
Registered: ‎12-05-2011

Re: PayPal Express Checkout for Authorize.Net

Thank you @nostalgio!  We'll be sure to let our documentation folks to include the information.

 

Richard


Build modern websites and mobile applications without increasing PCI burden using Authorize.Net Accept
Member
Posts: 9
Registered: ‎05-17-2017

Re: PayPal Express Checkout for Authorize.Net

[ Edited ]