Skip to content

Commit

Permalink
Android SKD update
Browse files Browse the repository at this point in the history
  • Loading branch information
kishan-cashfree committed May 21, 2024
1 parent 5234c18 commit 8bb489a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'

implementation 'com.cashfree.pg:api:2.1.11'
implementation 'com.cashfree.pg:api:2.1.13'

androidTestImplementation platform('androidx.compose:compose-bom:2022.10.00')
androidTestImplementation 'androidx.compose.ui:ui-test-junit4'
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/cashfree/sdk_sample/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import com.cashfree.pg.core.api.upi.CFUPI

data class Config(
// CFSession Inputs
val orderID: String = "order_101024392gHOZuJhvg8FrIRarb7Uy6EAChV",
val paymentSessionID: String = "session_pj4qdmmoYVCpDTTeaaKYZMG5yGWMlRQuQIs3CmwXh4w4DPF9Cqr7r96wvEMkiLl9Bmu_pg8HJSv2cWyW0XvxklmnosIhfvCE_rRzPxnWHjVr",
val orderID: String = "order_101024392gjBTzvAVlJYzadcnM9kCKaxRtx",
val paymentSessionID: String = "session_DKTbqtk643K_YJU507FzzBc54BHMTflAukr7uSrgJhGQ560_qkVYsiFG5DEtkjhXE_71dKgz0l_8HhUzSHgm1OKqDRMB3aTejuTU4WkMFuyB",
val environment: CFSession.Environment = CFSession.Environment.SANDBOX,

//Card Payment Inputs
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/values/values.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<resources>
<bool name="cashfree_pg_core_encrypt_pref_enabled">false</bool>
</resources>

0 comments on commit 8bb489a

Please sign in to comment.