Skip to content

Releases: processout/processout-android

Release v2.13.1

04 Mar 15:15
4c01b25

Choose a tag to compare

  • Update Gradle wrapper and Android Gradle Plugin (#23)
  • Migrate dependencies to AndroidX (#24)

Release v2.13.0

17 Jun 12:48
7c5889c

Choose a tag to compare

  • APMs: Change the way the user is redirected. Methods now return the Uri to client (⚠️ Depending of your integration, this might be a breaking change)

Release v2.12.1

15 May 15:55
ceb6fe4

Choose a tag to compare

  • Add public constructors for Gateway objects

Release v2.12.0

07 Feb 11:00
4a79b95

Choose a tag to compare

APM

  • Context should now be passed as a parameter when calling makeAPMToken or makeAPMPayment methods.
    Ex:
p.makeAPMPayment(apmGatewayConfig, "project-id", this); // this refers to the activty itself

Release v2.11.2

19 Dec 09:49
b1164ff

Choose a tag to compare

Small fixes

  • Update typo in method name

Release v2.11.1

04 Nov 17:41
a16728e

Choose a tag to compare

  • Add support for additionalData in APMs

Release v2.11.0

04 Nov 12:23
e2a6af0

Choose a tag to compare

Alternative Payment Methods

Release v2.10.1

02 Oct 16:09
d246496

Choose a tag to compare

  • Improve user-agent for HTTP calls

Refer to https://github.com/processout/processout-android/releases/tag/2.10.0 for migration docs

Release v2.10.0

02 Oct 14:03
6d66986

Choose a tag to compare

What's new?

  • Support for 3DS challenges in webview inside the app
  • Support for makeCardToken method with card verification
  • General improvements

Migration

New method

The makeCardToken is now available:

p.makeCardToken("card-token", "customer-id", "token-id", ProcessOut.createDefaultTestHandler(MainActivity.this, new ProcessOut.ThreeDSHandlerTestCallback() {
    @Override
    public void onSuccess(String tokenId) {
        // The card has been verified
    }

    @Override
    public void onError(Exception error) {
        // Error
    }
}), with);

ThreeDSHandler interface

The ThreeDSHandler interface has a new method:

void doPresentWebView(ProcessOutWebView webView);

It is called when a web challenge is required. It is up to you to present the webview the way you want.

Deep-links handling

The only case where your app will be re-opened from a deep-link is when dealing with Alternative Payment Methods.

The onCreate method of your Activity should handle it like this:

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    Intent intent = getIntent();
    Uri data = intent.getData();
    if (data != null) {
        // Check if the activity has been opened from ProcessOut
        String gatewayToken = ProcessOut.handleURLCallback(data);
        if (gatewayToken != null)
            Log.d("PROCESSOUT", gatewayToken); // Send the token to backend to complete the charge
    }
}

Release v2.9.1

18 Sep 10:12
ff7c1cc

Choose a tag to compare

  • Add support for idempotency-key
  • Change network retry policy to 15s with a maximum of 2 retries