#Is tosspay accept domestic card?
75 messages · Page 1 of 1 (latest)
You can do with correct bin number
@dull wasp I tried with many bin number. but the payment process can not complete.
The problem with cvv/cvc code.
@dull wasp yes i try random card number
Are you paying with tosspay?
Credit card doesn't need CVC num
please screenshot where you are struggling with
@dull wasp please wait
Ok
this is my request payload
Are you using API for request payment?
i want to pay with hana bank
Did you select 하나Pay right?
yes
Can I have a orderId and your MID please?
orderId: orderID7i
mid: tvivarepublica
Are you using test key that provided in docs?
yes
Do you have live MID for your company? Do your company has contract with tosspayments?
yes
then please test with your company's test key
and please let me know the orderId and MID
because test key that provided in docs is public, so there are too many logs going on
@dull wasp i think my Credit card process done
but Samsungpay is not work when i click checkout link go to error page
{
"method":"간편결제",
"amount":10000,
"orderId":"{{orderIdN}}",
"orderName":"토스 티셔츠 외 2건",
"successUrl":"https://www.localhost.com/",
"flowMode": "DIRECT",
"easyPay" : "SAMSUNGPAY",
"failUrl":"https://www.errorhost.com/"
}
"mId": "tskytkomge6",
"lastTransactionKey": null,
"paymentKey": "ZDBYqJLQ1GKNbdOvk5rkj7lLGQEBKAVn07xlzmj6R9e4oPpE",
"orderId": "orderID6p",
Which error did you received when you do with Samsungpay?
after hit v1/payments/
get checkout url then if i click it take me failurl without showing any think
Code is PAY_PROCESS_ABORTED
Same for Account Transfer
give me all orderIds that you got error
then Tossteam will check the server log for it
for account transfer : orderIDic
For Samsungpay : orderIDq8
@dull wasp any update?
Toss team needs to investgate it, so it might be take some times
I think this issue will follow-up next Monday. Now it is evening(out of working hours) in Korea, so please understand us.
cc @coarse cloud
@ornate gull Would you try to call the end point "/v1/payments/confirm" with the paymentKey after authentication succeeded?
https://docs.tosspayments.com/reference#결제-승인
@coarse cloud yes i do this
I'm investigating the log regarding tskytkomge6, but it's never been called "v1/payment/confirm".
Would you try it again and let me know the orderId or paymentKey now?
@ornate gull I'll check while you're doing a test.
I can see your last orderId is "orderIDpk" about 10 miniutes ago, it was not also called /v1/payment/confirm.
@coarse cloud Sorry about that
i just call v1/payments/
for create payment
That's right. The paymentKey you receieved is "mvbBAMKdpoeqRGgYO1r5P1WRMLn5AaVQnN2Eyazx0596wLj4" right?
from checkout url when i click on checkout url. it redirect me in failed url
let ne check
Ok. I'll also look into it.
{
"method":"계좌이체",
"amount":20000,
"orderId":"{{orderIdN}}",
"orderName":"Ecommerce Purches",
"successUrl":"https://localhost:8000/failurl",
"useEscrow": false,
"failUrl":"https://localhost:8000/failurl"
}
{
"mId": "tskytkomge6",
"lastTransactionKey": null,
"paymentKey": "WkABYDxNyJQbgMGZzorznjMvaOX7jrl5E1em4dKva7XL9njP",
"orderId": "orderIDpi",
"orderName": "Ecommerce Purches",
"taxExemptionAmount": 0,
"status": "READY",
"requestedAt": "2023-11-13T12:02:12+09:00",
"approvedAt": null,
"useEscrow": false,
"cultureExpense": false,
"card": null,
"virtualAccount": null,
"transfer": null,
"mobilePhone": null,
"giftCertificate": null,
"cashReceipt": null,
"cashReceipts": null,
"discount": null,
"cancels": null,
"secret": null,
"type": "NORMAL",
"easyPay": null,
"country": "KR",
"failure": null,
"isPartialCancelable": true,
"receipt": null,
"checkout": {
"url": "https://api.tosspayments.com/v1/payments/WkABYDxNyJQbgMGZzorznjMvaOX7jrl5E1em4dKva7XL9njP/checkout"
},
"currency": "KRW",
"totalAmount": 20000,
"balanceAmount": 20000,
"suppliedAmount": 18182,
"vat": 1818,
"taxFreeAmount": 0,
"method": null,
"version": "2022-11-16"
}
i try to make order again..
when i click checkout link it shows me
this
@coarse cloud
I see. You're using checkout.url which is deprecated.
In order to call payment window, please refer the below link.
https://docs.tosspayments.com/guides/payment/integration#1-결제창-띄우기
And you'll get response after authentication success, and redirected to the successUrl.
Then the successUrl contains paymentKey, orderId, and amount as query parameters as follow.
https://{ORIGIN}/success?paymentKey={PAYMENT_KEY}&orderId={ORDER_ID}&amount={AMOUNT}
If orerId and amount is same as your request, then you should do payment approval via "/v1/payments/confirm".
we using api without sdk version.
we have to use api only.
@coarse cloud
without creating paymet how can i get paymentkey in /confirm..
Oh, understood. I thought you're using sdk version as we provide only sdk version in docs now.
The error code you faced above is that your merchant has not contract "Bank Transfer", but your merchant has contract "Card" only. So it failed.
okay got it.
one more Q.
is it right way for creating order?
by calling
/v1/payment
@coarse cloud
Yes, when you call /v1/payment and will get checkout.url as a response. checkout.url is to show the payment window for the customer.
@coarse cloud
Was tosspay provide any webhook for without "Expair"
for /v1/payments api?
@ornate gull
What is "Expair" ?
@coarse cloud payment status. Which we get from webhook.
"EXPIRED"
Sorry for my misspelling.
Oh got it. "EXPIRED" could be sent when there is no action after the payment window popped up.
yeah i know. our system is depends on webhook response. from webhook we get only "EXPIRED" status for
"v1/payment " api.
Suppose we hit this api then go to the checkout url. complete payment then did not call "confirm" api.
In here we will wait for the webhook responded. if get response then our system will call confirm api.
can we get any other status in webhook?
@coarse cloud
For example, the blue colored status of the flow is the status which webhook called above the link.
So if you do not call confirm api, then you'll get "EXPIRED" only. The other status are received after calling either "confirm" api or "cancel" api.