Poynt Payment Fragments

Payment Fragments are used to securely process payment transactions at the OS level itself so your apps do not need to worry about handling the variety of payment methods, the payment process and compliance (e.g. PCI).

Use this category for questions and discussion around Payment Fragments.

Quick question. While reviewing the sample code there exists a CONSTANT that is set to 13132. The description says: “// request code for payment service activity”. Where does find the details for this and other requests types please.

oh it’s standard Android way of starting an activity for result. More info here: http://developer.android.com/training/basics/intents/result.html

In other words there isn’t anything special about the value - it’s just a way for you to keep track of request and response when starting an activity for result.

cheers,
Praveen

Thanks! That makes sense. Anytime I see a random looking number assigned to a constant I think that it must have meaning, overthinking it :smile:
Cheers

How do I AUTHORIZE, REFUND from Poynt Payment Fragments? Right now, it only do SALE…

Also, can we process transaction without using Poynt Payment Fragments but still utilize the MSR, EMV and NFC reader? In other word, can we design our own Payment Fragment?

Hi there,

If you want to do an authorization, you just need to set a flag on the payment object:

payment.setAuthzOnly(true);

Please refer to Post-Payment actions of https://poynt.github.io/developer/tut/poynt-payment-fragments.html to see how you can allow merchant to initiate a refund.

All transactions on Poynt have to be processed via our Payment Fragment API which handles it in a PCI compliant manner and keeps your application out of PCI scope.

Ok, then where is documentation for Payment object or full API definition? Thanks…

Our REST API model is documented here. PoyntOS SDK documentation is available at https://poynt.github.io/developer/javadoc/.
Here’s the list of methods in the Payment class which is essentially a wrapper around Transaction flow with configuration parameters: https://poynt.github.io/developer/javadoc/co/poynt/os/model/Payment.html.

Hi,
Are the Payment Fragments for the traditional Poynt the same as for Poynt 5?
And, is it possible to automatically reset to ‘home’ once payment has been taken without for the customer or merchant to press a button?
Thanks

The Payment Fragment is mostly the same with minor UI differences. Poynt default apps (Terminal, Register) don’t have a way to return to the launcher screen without merchant taking an action. But if you are launching the Payment Fragment from your own app, you can. There are many examples on stackoverflow. Here’s one https://stackoverflow.com/questions/11076669/go-back-to-launcher-android-programmatically.

Hello,
I am totally new, just started last week. I am trying to figure out how to use Payment Fragment to adjust tip amount on an existing transaction. When I do the Intents.ACTION_DISPLAY_PAYMENT, I only see “VOID” and “COMPLETE” buttons. The link https://poynt.github.io/developer/tut/poynt-payment-fragments.html is no longer valid.
Thanks for your help.

Tip adjustment in Payment Fragment is currently not supported. The merchant can adjust in the settlement app either on the terminal or the web (Poynt hq)

Is there any way to change the text displayed on payment fragment. Even after setting the following values, I see “Insert or swipe” on payment fragment.
payment.setManualEntry(false);
payment.setDisableManual(true);
payment.setDisableMSR(true);
payment.setDisableEMVCL(true);
payment.setOfflineAuth(false);
payment.setDisableTip(true);

I just want to allow only chip cards. That means I want the text to say “Insert card”

Ashwin