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

Suggestion: Make PiaSDK.start overload that takes a Fragment #1

Closed chnt closed 5 years ago

chnt commented 5 years ago

PiaSDK.getInstance().start(activity, bundle, paymentHandler)

Launching the SDK from a Fragment, will cause the resulting call to onActivityResult(requestCode: Int, resultCode: Int, data: Intent) to be sent to it's parent activity.

If you make an overloaded one that takes a Fragment instead of an Activity, the result could be delivered directly to the Fragment.

Miss-PiA commented 5 years ago

Hi @chnt.

Sorry for the late reply!

Thanks a lot for your valuable suggestion! We will take in and implement in the later release and will keep you posted.

-Miss PiA

Miss-PiA commented 5 years ago

Hello @chnt ,

We have released a new version v1.1.0 with the enhancement you suggested, along with other new features and improvements.

-Miss PiA