SampleApp-ECommerce_Payments_SalesReceipt-Java icon indicating copy to clipboard operation
SampleApp-ECommerce_Payments_SalesReceipt-Java copied to clipboard

Where is Payments SDK?

Open wendelicious opened this issue 8 years ago • 5 comments

I see that there is the payments-reference-implementation project embedded in this project, but I can't seem to find where the Payments SDK/lib should be coming from.

The tutorial online shows using the Charge class, which seems to come from the com.intuit.sample.payment.model package, which isn't readily avialable in the ipp-v3-java-data project. Maven Central doesn't seem to have any other artifacts for me to depend on.

So, what is the right way to do this? Are the examples wrong? Is the SDK intended to be embedded like this? There is no path to green for me, shy of re-implementing the REST interface, which is a terrible answer.

Cross-posting, as I don't know where the "best" place to reach QBO developer support.

wendelicious avatar Jun 26 '18 20:06 wendelicious

Hi @wendelicious - We currently don't have a Payments SDK, however, you can copy the contents under "payments-reference-implementation" folder and use it within your app. The latest version of devkit and data libraries can be downloaded from maven, if you are using Accounting APIS as well. https://search.maven.org/#search%7Cga%7C1%7Ccom.intuit.quickbooks-online

diana-derose avatar Jun 26 '18 21:06 diana-derose

@diana-derose I'm happy to do that if that is the recommended way about it.

Can I ask why Payments isn't in the SDK? Is it an API I shouldn't be using? Is there another way to do this?

wendelicious avatar Jun 26 '18 22:06 wendelicious

Also, what does QBO have for a credit card vault? The use case is to store a credit card for reuse - similar to recurring, but on-demand rather than on schedule. I'd like to vault it elsewhere and only save the CC token.

wendelicious avatar Jun 26 '18 22:06 wendelicious

Hi @wendelicious - Payments SDK is not prioritized yet but the API is fully functional and can be used. Regarding your other question, you can use the card endpoint to store the credit card information https://developer.intuit.com/docs/api/payments/cards

And then use the Card->id from the response as a value for "cardOnFile" field while creating charge. https://developer.intuit.com/docs/api/payments/charges

diana-derose avatar Jun 26 '18 23:06 diana-derose

Also, you can post questions in our forum https://help.developer.intuit.com/s/

diana-derose avatar Jun 26 '18 23:06 diana-derose