#elias117-tax

1 messages · Page 1 of 1 (latest)

ember latch
#

Do you have some IDs I can take a look at?

honest root
#

yup

#

one second

#

Here is the invoice pay attempt

req_VMFKfvFu5tz5IH

#

and here is the customer creation

req_yy5cigs5uis71t

ember latch
#

Can you try again but put a space in the postal code?

honest root
#

sure just one second

#

still getting unrecognized

#

req_2265Ovuo6jMA3r

ember latch
#

That's strange - does this happen for any canadian address you try? Let me also do some digging on my end to see what the issue could be

honest root
#

yeah it does

ember latch
#

I think I've figured it out - replace "Canada" with "CA" and "Nova Scotia" with "NS"

honest root
#

Oh ok one min

honest root
#

ok I think it worked

#

I'm just having trouble adding a payment method

#

req_s7OnSmy13aAq3l

gentle dune
#

Hello! I'm taking over for @ember latch, let me get caught up...

honest root
#

ok

gentle dune
honest root
#

ohh

#

Does that happen when I create the customer?

gentle dune
honest root
#

Currently I have this

#
var paymentMethod = new PaymentMethodCreateOptions
                {
                    Type = "card",
                    Card = new PaymentMethodCardOptions
                    {
                        ExpYear = cc.ExpirationYear,
                        ExpMonth = cc.ExpirationMonth,
                        Cvc = cc.Cvc,
                        Number = cc.CreditCardNumber.Replace(" ", ""),
                    },
                    BillingDetails = new PaymentMethodBillingDetailsOptions
                    {
                        Name = cc.CardHolderName,
                    }
                };
                PaymentMethod method;
                StripeCreditCardPaymentInfo cardInfo;
                method = await paymentMethodService.CreateAsync(paymentMethod);
                method = await paymentMethodService.AttachAsync(method.Id, new PaymentMethodAttachOptions { Customer = userRecord.StripeId });```
gentle dune
#

It's strongly recommended that you do not handle raw PANs yourself. Are you fully PCI compliant?

honest root
#

we will be

#

just not yet

#

cant I just attach that method to the invoice_settings.default_payment_method

gentle dune
#

You can, but doing so is not recommended as the Payment Method will not be set up for future use.

honest root
#

ok for now I just want it as one time payment

gentle dune
honest root
#

ok

gentle dune
#

Your current approach does not allow the customer to authenticate the transaction if needed (i.e., 3D Secure).

honest root
#

oh I see ok