Skip to content

Releases: edfapay/edfa-pg-android-sdk

2.1.6

07 Jan 18:26

Choose a tag to compare

2.1.5

26 Dec 23:02

Choose a tag to compare

Added Feature to Pay with Sadad Number

        EdfaSadadPay()
            .setOrderId("Unique order_id as string")
            .setOrderDescription("Description of the order")
            .setOrderAmount(25.0)
            .setCustomerName("Merchant customer name here")
            .setMobileNumber("Merchant customer mobile number here in format: 966500409598")
            .onSuccess { response ->
                Log.i("Transaction Success:", response.toString())
                Toast.makeText(this, "Transaction Success", Toast.LENGTH_LONG).show()  
            }
            .onFailure { response, exception ->
                Log.e("Transaction Failed:", response?.message ?: exception.message ?: "STWR")
                Toast.makeText(this, "Transaction Failure", Toast.LENGTH_LONG).show()
            }
            .initialize { errors ->
                // if errors is empty then transaction begins successful else error while initialize
                Log.e("Initialize errors", errors.toString())
            }

Full Changelog: 2.1.4...2.1.5

2.1.4

25 Nov 17:12
6a0dd18

Choose a tag to compare

What's Changed

Full Changelog: 2.1.3...2.1.4

2.1.3

19 Nov 13:03

Choose a tag to compare

  • Allow adding extras to all sales transactions as below

2.1.2

03 Nov 08:13

Choose a tag to compare

Extend the timeout of http

Full Changelog: 2.1.1...2.1.2

2.1.1

16 Oct 13:40
14ea38e

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.9...2.1.1

2.1.0

09 Oct 08:55

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.9...2.1.0

2.0.9

15 May 10:51

Choose a tag to compare

Full Changelog: 2.0.7...2.0.9

2.0.8

14 May 15:14

Choose a tag to compare

Handled the PENDING status for the Auth transaction

Full Changelog: 2.0.7...2.0.8

2.0.7

24 Apr 13:56

Choose a tag to compare

  • Added Auth to sale transaction
    • Added to below

      EdfaCardPay

       EdfaCardPay()
          .setAuth(true/false)
          ...

      EdfaPayWithCard

       EdfaPayWithCardDetails(context)
          .setAuth(true/false)
          ...

Calling setAuth with a true argument will perform the Auth transaction

The user can perform Capture or Void on this Auth transaction

Full Changelog: 2.0.6...2.0.7