Luc Le
TPToss payments 개발자 커뮤니티
•Created by Luc Le on 6/8/2023 in #🌎┃global-support
Is it necessary to import code from "paymentsdk" project into my project?
I solved this problem. We only need resolved set project's Gradle settings as follows:
// build.gradle(App)
dependencies {
implementation 'com.github.tosspayments:payment-sdk-android:<CURRENT_VERSION>'
}
And DO NOT need to copy code from "paymentsdk" module.
Anyway thank you for your support
7 replies
TPToss payments 개발자 커뮤니티
•Created by Luc Le on 6/8/2023 in #🌎┃global-support
Is it necessary to import code from "paymentsdk" project into my project?
I am integrating payment widget to Android app with TosPayments Android SDK.
In order to use:
<com.tosspayments.paymentsdk.view.PaymentMethod
android:id="@+id/payment_widget"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp" />"
I had to copy code in paymentsdk module from github (https://github.com/tosspayments/payment-sdk-android/tree/master/paymentsdk) into my project.
And then render payment method into the layout based on " tosspayments/payment-sdk-android " project (https://github.com/tosspayments/payment-sdk-android/blob/master/app/src/main/java/com/tosspayments/paymentsdk/sample/activity/PaymentWidgetActivity.kt)
Did I do right thing? because I did not find any guide about this, about use "paymentsdk module"
7 replies
TPToss payments 개발자 커뮤니티
•Created by Luc Le on 4/25/2023 in #🌎┃global-support
Is there any simple payment account (TOSSPAY, NAVERPAY...) for testing supported from Toss payment?
yah. Thank you for your support
11 replies
TPToss payments 개발자 커뮤니티
•Created by Luc Le on 4/25/2023 in #🌎┃global-support
Is there any simple payment account (TOSSPAY, NAVERPAY...) for testing supported from Toss payment?
I am using "Test API key":
In android client side:
I am using "Payment Widget Android SDK" for client application to render PaymentMethodWidget. I use payment method is "Visa Card" to pay
After Toss server return the result which it have a "paymentKey".
In my server, I use API "/v1/payments/confirm" and pass parameters to that API, and call to Toss payment server.
Everything is done, I also check in Test payment details https://developers.tosspayments.com/. There is my order with payment status is "complete"
But I did not see the step that I have to authenticate my visa card by OTP. Is this because I am using test development or my flow is wrong ?
Could you please check this?
11 replies