Reply
Member
Posts: 1
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,251
Topics: 51
Kudos: 151
Blog Posts: 64
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>
--------

Webhooks are now available for Authorize.Net

Using SOAP, see our deprecation notice.
Check out Accept.js, our Javascript replacement for DPM.
Pro Tip: Never use test mode in the sandbox, instead use the Testing Guide.
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,251
Topics: 51
Kudos: 151
Blog Posts: 64
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

--------

Webhooks are now available for Authorize.Net

Using SOAP, see our deprecation notice.
Check out Accept.js, our Javascript replacement for DPM.
Pro Tip: Never use test mode in the sandbox, instead use the Testing Guide.
Member
Posts: 7
Registered: ‎05-17-2017

Re: PayPal Express Checkout for Authorize.Net

[ Edited ]