Nets-mobile-acceptance / Netaxept-Android-SDK

PiA Netaxept Android SDK is a library that provides the native In-App interaction to perform Netaxept payments directly from an app on Android devices while minimizing PCI DSS requirements for you.
31 stars 15 forks source link

Better documentation to start. #87

Open rdietrichberlin opened 4 months ago

rdietrichberlin commented 4 months ago

We started to integrate the SDK following the readMe.md advice to adjust the configuration in gradle.properties.

This results in a 404 on https://pptest.payengine.de/v2/payment/methods?consumerId=666565

Unfortunately there are no explanations about what Consumer-Id is and requested as first entry in the sample. Why?

I found a working URL in #5 - why is this not the default in gradle.properties, e.g.: MERCHANT_BACKEND_URL_TEST=https:///api-gateway-pp.nets.eu/pia/test/merchantdemo/

Miss-PiA commented 1 month ago

Hi @rdietrichberlin.

Sorry for get back to you late. Consumer-id is part of logic built in our own sample backend project https://github.com/Nets-mobile-acceptance/Netaxept-Sample-Backend as an example how to make end to end transaction with our sample mobile app.(https://github.com/Nets-mobile-acceptance/Netaxept-Sample-Backend/blob/b73eb707f17cacff7122d99e5a284303c10c8beb/pia-sample-merchant/src/main/java/eu/nets/ms/pia/service/rest/MerchantPaymentRESTService.java#L84) Merchant usually has its own API contract between their app and merchant to conduct the transaction. So, please try to build it in your own implementation instead and use these sample project as a reference.