#kade-terminal-debitcard

1 messages · Page 1 of 1 (latest)

gleaming lilyBOT
tawdry sand
#

@calm temple depends on your question. This Discord server is for developers asking questions about their own code. Is that what you need help with?

calm temple
#

We're currently having issues with debit card payments to Terminal in Canada.

#

Could it be that my debit card's bank is not accepted?

tawdry sand
#

@calm temple okay so I can't help with this here I'm sorry

gleaming lilyBOT
#

kade7492-account-support

#

@calm temple :question: Have a non-technical question, account issue, or need one-on-one support? We wish we could help, but this community is focused on developers and technical discussions. Our support team will be able to assist you better than we can: https://support.stripe.com/contact

calm temple
#

When it comes to making payments, some debit cards will be accepted and some will not.
Currently, all debit cards are processed using the TAG method.

#

The code below is for creating payments and signalling to the terminal.

gleaming lilyBOT
#

@calm temple :question: Have a non-technical question, account issue, or need one-on-one support? We wish we could help, but this community is focused on developers and technical discussions. Our support team will be able to assist you better than we can: https://support.stripe.com/contact

tawdry sand
#

@calm temple I'm sorry I am happy to try and help if you have a real developer-specific question. Right now what you asked is extremely vague and boils down to "some cards are declined". Can you try and ask clear and details question as a developer talking about your own code?

calm temple
#

this is code.

#

Can i know is there any problem with payment?

tawdry sand
#

this isn't really code, it's a picture of code, with no information.

#

I want to help but you do need to try and take a step back, think about your problem and ask a clear and detailed question all in one paragraph. Not just saying multiple times "something doesn't work".

#

kade-terminal-debitcard

calm temple
#

Let's organise what we're going to ask.
The picture I just posted above is currently creating a payment in C# and receiving the payment on a terminal device.
Is there anything in that part of the code that might be causing problems when it comes to taking a payment with a debit card?
The current issue is that when I try to make a payment with a debit card, some payments go through successfully, while others continue to fail.

tawdry sand
#

no

#

what does "continue to fail" mean? What exact error are you getting?

calm temple
#

There were no errors in the stripe dashboard either.
It's just that when we tagged our debit card with termianl, we got card declined.

gleaming lilyBOT
tawdry sand
#

Okay so it's not your code and I'd recommend talking to our support team for help and providing actionable details like exact Reader id, PaymntIntent id, etc. so that they can help you

calm temple
#

If so, can I give you the paymentID and reader id and maybe you can figure it out?

slim spruce
#

👋 Taking over here. I still believe we can help you better if you write to our Support with all the information my colleagues mentioned above. (Reader Id + PaymentIntent Id + concrete code in text, not picture)

calm temple
#

Ok!

                StripeConfiguration.ApiKey = "";

                var options = new PaymentIntentCreateOptions
                {
                    Currency = "CAD",
                    PaymentMethodTypes = new List<string> { "card_present" , "interac_present"},
                    CaptureMethod = "automatic",
                    Amount = PageSelect.totalmoney * 100
                };
                Source.Log.log.Info(options);
                var service = new PaymentIntentService();
                var paymentIntent = service.Create(options);

                // PaymentIntent에서 Payment ID 가져오기
                paymentId = paymentIntent.Id;
                Source.Log.log.Info("PaymentID = " + paymentId);

                var options2 = new ReaderProcessPaymentIntentOptions { PaymentIntent = paymentId };

                var service2 = new ReaderService();
                service2.ProcessPaymentIntent("", options2);

and the payment id is pi_3OHFEALOsQno84zQ0r21MdxW
the Reader ID is tmr_FMPEAscpXVv21U

slim spruce
#

Okie, and what exactly is the issue? Could you describe it again with a screenshot? You just said it failed

#

What exactly failed here?

calm temple
#

cancel the payment when it receives a fail signal from the device via the webhook function.
The current issue occurs when a payment is made with a debit card in Canada,
The payment is successful for some cards, but for others, the card is declined on the device and the payment is cancelled.

slim spruce
#

cancel the payment when it receives a fail signal from the device via the webhook function
Is this your code logic? Can you share that code? And which event are you listening for this specific Payment Intent?

calm temple
#
var service = new ReaderService();
                var readerstatus = service.Get("tmr_FMPgHpPd9qhPr0");

                if (readerstatus.Action.Status == "succeeded")
                {
                    // 결제 성공 처리 로직
                    dispose();

                    Source.Log.log.Info("결제 성공");
                    SendTotalData();
                    NavigationService.Navigate(new Uri("View/PaymentComplete.xaml", UriKind.RelativeOrAbsolute));
                }
                else if (readerstatus.Action.Status == "failed")
                {
                    var paymentservice = new PaymentIntentService();

                    paymentservice.Cancel(paymentId);

                    dispose();
                    Source.Log.log.Info("결제 실패");
                    NavigationService.Navigate(new Uri("View/ChoicePayment.xaml", UriKind.RelativeOrAbsolute));
                }
                else if (readerstatus.Action.Status == "in_progress")
                {

                }

this is webhook code.
This is supposed to be detected every second in the timer function.

slim spruce
#

What is displayed on the reader at the time?

calm temple
#

this is video when issue happend.

slim spruce
#

Hah I see! You should have shared that screen record from the start!

calm temple
#

Ahhh, it's my fault. sorry

slim spruce
#

Um seem that the card is simply not usable. It's a debit card right? Other credit card works fine?

calm temple
#

Yes, it is.
That debit card is the same debit card we use every day.

slim spruce
#

Yeah I am afraid the card is just not supported. Can you try any other debit card?

calm temple
#

When we used a different debit card, the payment was successful.
Both the enabled and disabled cards are debit cards issued by the same bank.
Is there any way to find out which debit cards are supported by stripe and which are not?

slim spruce
#

I have no idea, sorry. Are they same card network (mastercard?) what is the different explained by the bank?

calm temple
#

BMO bank card is declined.
Some RBC bank card is ok to payment, But some RBC bank card declined

slim spruce
#

Okie I think there is no issue with your integration, your code or your reader at all. It's the issue with supported card in specific banks. Could you write into Support and inquiry them for further details?

#

Pleaese include the video above and describe the banks who was declined

calm temple
#

Got it!
Thank you so much for your help.
Have a great day!
It may be a little early, happy new year.