AuthorizeNet / inperson-sdk-android

Mobile SDK for Android point-of-sale applications
Other
23 stars 38 forks source link

Is there a way to send an invoice number to authorize.net? #71

Closed cmcfatter closed 3 years ago

cmcfatter commented 3 years ago

In order to go forward with this app I would need to be able to send the invoice number to authorize.net. Currently the invoice field is blank when I process transactions. Is there a way to do that?

amimishr commented 3 years ago

@cmcfatter Yes there is a way. First you can create an Order object, this order object has method to setup invoice number. Then assign this order object to your EmvTransaction object.

cmcfatter commented 3 years ago

Thank you so much for your help, I just got it to send the invoice number!

amimishr commented 3 years ago

Please use net.authorize.data.Order.createOrder() to create a new order.