Migration

Please reference pos-getting-started for a description and examples of the initialization process in 3.x, eg. using “Payment.create()” vs. “new Payment” to create objects, and importing “com.verifone.payment_sdk.Payment” vs. “com.verifone.commerce.entities.Payment”.

Note

  • On CM5 and Trinity terminals, please set Device Manager > Transaction Options > Terminal.1 > UseDeveloperSDK to “0” in order to use the 3.x SDK.

API Changes

  • Status Session ID has moved to Commerce Event.

  • TransactionManager.getTransactionManager has moved to PaymentSdk.getTransactionManager().

  • TransactionManager.TearDown() has been removed and is no longer accessible as a TransactionManager API.

Migration from CommerceListener and PsdkStatusListener to CommerceListenerAdapter

To use the new CommerceListener :

See also

Note

  • Make sure to use the CommerceListenerAdapter with New APIs only. Using deprecated APIs in conjunction with CommerceListenerAdapter or the other way might lead to unexpected behaviour.

API Changes

Was this helpful?