#mitsu_code

1 messages ยท Page 1 of 1 (latest)

worthy isleBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1293393317471719467

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

regal mural
#

Hi! Using raw PAN is not recommended.

We do have alternatives that you can utilise to collect payment method details such as Checkout, Elements, or our mobile SDKs.

However, if your business case requires you to handle raw PANs, you will need to be PCI (SAQ) D compliant. You can reach out to Stripe support with the relevant document as described in this document.

pine blade
#

That means in step paymentMethods->create, use stripe.js to get pm_xxxxxx, right?

#

because the credit card information collection form is self-designed

regal mural
#

Yes!

pine blade
#

ok thanks

#

Can you send me the link to the stripe.js laravel code document?

regal mural
#

This is the link for PHP: https://docs.stripe.com/payments/quickstart?lang=php

Do note however, Laravel may have its own API for Stripe payment integration. For that you will need to consult Laravel's doc.

Learn how to embed a custom Stripe payment form in your website or application. Build a checkout form with Elements to complete a payment using various payment methods.

pine blade
#

I don't see where to create payment method

#

It will probably be like this right?

regal mural
#

Checkout and Payment Elements (non-deferred flow) do not require you to call the create payment method API call. Which integration are you using?

pine blade
#

In my system, a customer will have many credit cards, so I have to save all payment methods.

#

Is the code I just sent correct?

regal mural
#

Can I check if you are SAQ D compliant?

worthy isleBOT
hidden shuttle
#

๐Ÿ‘‹ Jumping on here. @pine blade It's most likely you are on the incorrect path when you are trying to create a PaymentMethod from raw pan, which requires PCI Compliance as my colleague has been repeatedly telling in this thread. This is normally not the path you want to pursuade, unless you know exactly what PCI Compliance and SAQ means. More at https://docs.stripe.com/security/guide

In a few discussions back you mentioned you are using https://www.npmjs.com/package/vue-credit-card-validation and by a quick glance, I believe they are not PCI Compliance, which will expose you to PCI Compliance too. You should abandon that library and strictly follow our guide on https://docs.stripe.com/payments/accept-a-payment.