Accept an Apple Pay payment with Stripe.js

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

ความคิดเห็น • 91

  • @StripeDev
    @StripeDev  ปีที่แล้ว

    The steps to do this will vary depending on which coding language you choose to use. The best place to get more in-depth help would be on our Stripe Developer Discord channel which you can join here: discord.com/invite/RuJnSBXrQn.
    Or you can reach out to us via email, here: support.stripe.com/contact/login.

  • @StripeDev
    @StripeDev  3 ปีที่แล้ว

    Hey there - you can find how to integrate Apple Pay with Stripe here: stripe.com/docs/apple-pay?platform=ios#accept. Let us know if you have any questions!

  • @sachendrakumar3343
    @sachendrakumar3343 3 ปีที่แล้ว +3

    Hey! I want to credit card with google pay and Apple pay button option in stripe recurring payment using php ,Please help me

  • @StripeDev
    @StripeDev  3 ปีที่แล้ว

    Hey! Auth and capture works the exact same way for Apple Pay and Google Pay as it does for Card. You set capture_method: 'manual' and you capture later!

  • @StripeDev
    @StripeDev  ปีที่แล้ว

    Hi Oleksandr-we don't have any videos on this topic right now, but we appreciate the feedback and will take it on board. If you need help, or have any development questions in the future, you can reach out on our dedicated Discord channel for developers: stripe.com/go/developer-chat

  • @abrarahmed7549
    @abrarahmed7549 3 ปีที่แล้ว +4

    This HITMAN is awesome

  • @MrEagle2050
    @MrEagle2050 7 หลายเดือนก่อน

    Stripe ask us ti upload a file into the backend of our website but when you reach out to shopify they redirect you to stripe and stripe do the same it's like a circle or loop, does anyone have solved this problem to activate Apple Pay and Google Pay ?

  • @luketto81
    @luketto81 8 หลายเดือนก่อน

    Thanks for video. I need to add this feature to my ionic cordova app. What is the best practice? Currently I see standard card form but I can't see apple pay button

    • @StripeDev
      @StripeDev  8 หลายเดือนก่อน

      Hi Luca! Could you provide some more details around your set up for us?

  • @uguur
    @uguur ปีที่แล้ว

    does automatic_payment_element include Apple Pay?

  • @demotest566
    @demotest566 3 ปีที่แล้ว

    can make this on backend side ...??

  • @manucjd
    @manucjd 3 ปีที่แล้ว +1

    Thank you for the video!

  • @pipe117
    @pipe117 3 ปีที่แล้ว

    Hi, great video, is there a way to auth and capture a pay using Apple pay or Google pay?

  • @AbhishekSingh-qs2rj
    @AbhishekSingh-qs2rj ปีที่แล้ว

    Can we use stripe to sell monthly subscription in our healthcare app??

    • @StripeDev
      @StripeDev  ปีที่แล้ว

      Yes, you can! Check out our support guide linked here: stripe.com/docs/payments/accept-a-payment. You'll see buttons under "Accept a payment > Securely accept payments online" for integrating into mobile platforms such as Android and iOS.

  • @KongQi-e6l
    @KongQi-e6l ปีที่แล้ว

    Hi, I wonder, can we make a payment with Apple Pay in an IOS device like iPhone with StripeJS? This example works in browser, how about using in iPhone? So is there still http problem in iPhone? Thanks.

    • @StripeDev
      @StripeDev  ปีที่แล้ว

      Hey there-you actually can! Check out this guide for more info: stripe.com/docs/apple-pay?platform=web#accept.

  • @StripeDev
    @StripeDev  3 ปีที่แล้ว

    Hey! You should be able to create subscriptions for both Google and Apple pay by using the “Payment Request Button”, if you are using your own custom form. You can find more information here: stripe.com/docs/stripe-js/elements/payment-request-button

    • @cubevisltd8455
      @cubevisltd8455 3 ปีที่แล้ว

      Hi, is this solution for Apple : In App Purchases?

    • @StripeDev
      @StripeDev  3 ปีที่แล้ว

      Hey there-this is for Apple Pay purchases, not in-app purchases. We'd recommend checking out our documentation for the differences on these here: support.stripe.com/questions/apple-pay-or-in-app-purchases-for-mobile-application-payments

    • @cubevisltd8455
      @cubevisltd8455 3 ปีที่แล้ว

      @@StripeDev Ohh, because i see that a lot of people are dealing with: 3.1.1 Guideline from Apple (In App Purchases), specially with PWA apps

    • @AleksandraCzajka
      @AleksandraCzajka 2 ปีที่แล้ว

      How do you create the subscription? Creating the subscription in the backend with the payment method retrieved from the pay sheet button and then calling confirmCardPayment to close the pay sheet creates a duplicated payment in stripe. Is there a way to create the subscription with confirmCardPayment or another method on the stripe.js front-end?

    • @bigsykedaddy999
      @bigsykedaddy999 หลายเดือนก่อน

      If I built a custom cart and checkout form using stripe elements, is it true that I need to pay $100 a year for an apple developer account?

  • @kehindeonyekuwuluje2475
    @kehindeonyekuwuluje2475 หลายเดือนก่อน

    After following this seps I am getting error "payment Intent not found" from the conform endpoint - been on it for days now kindly help!

    • @StripeDev
      @StripeDev  หลายเดือนก่อน

      "payment Intent not found" errors could be due to several reasons related to your Apple Pay integration using Stripe. One possible cause is that the Payment Intent might not have been created correctly or at all on the server side before attempting to confirm it. Ensure you have set up an endpoint on your server to create a PaymentIntent with the correct amount and currency. This endpoint should be called from the client-side to request a PaymentIntent for the transaction.
      Another potential issue could be related to certificate problems. If you encounter errors while creating tokens with the Stripe API, it often indicates an issue with the Apple Pay certificate. You may need to generate a new certificate, using a Certificate Signing Request (CSR) from your Stripe Dashboard, and upload it to Stripe. Also, ensure your Apple Merchant ID is properly set up and that no older, non-Stripe certificates are being used.
      If you're still running into issues, feel free to chat live with developers in the official Stripe Discord server: stripe.com/go/developer-chat

    • @kehindeonyekuwuluje2475
      @kehindeonyekuwuluje2475 หลายเดือนก่อน

      @ Thanks for your response, I noticed that when the confirm is being called the stripeId isn’t part of the payload meanwhile I already have StripeAccount set to the stripeId within the Element tag that sets my stripe publishable key
      Just adding this cos it looks to me like the major issue here

  • @ErasylDias
    @ErasylDias ปีที่แล้ว

    Thanks for this great tutorial. I wonder, can we use SetupIntent to achieve Trial functionality. Or is it only designed to work with Payment Intent api?

    • @StripeDev
      @StripeDev  ปีที่แล้ว

      Hey there! Could you elaborate on this a little more so we can point you in the right direction?

    • @ErasylDias
      @ErasylDias ปีที่แล้ว

      Sure, I am using Setup Intent API to handle trial subscriptions, because I do not charge them immediately, but setup payment for the future. Here is the flow:
      1) Server creates Setup Intent and returns clientSecret
      2) Client takes clientSecret and triggers confirmCardSetup,
      But apple pay allows to use only confirmCardPayment (which requires Payment Intent client secret).
      But I am not sure how can I implement trial with Payment Intent, as it does not allow 0 (zero) amount payment intents.

    • @StripeDev
      @StripeDev  ปีที่แล้ว

      Thanks for getting back to us! We'd recommend following the instructions on this doc here: stripe.com/docs/billing/subscriptions/overview#using-setupintents
      This would be the optimal way to implement.

  • @basselghaybour959
    @basselghaybour959 10 หลายเดือนก่อน

    Is it possible to use Apple Pay with a Stripe-connected account, when I'm trying it fails with "No such payment_intent" error

    • @StripeDev
      @StripeDev  10 หลายเดือนก่อน

      This error may come up if the PaymentIntent you are trying to use either doesn't exist or it's not accessible to your current Stripe account.
      Yes, it is possible to use Apple Pay with a Stripe-connected account. The payment flow is different because using Apple Pay triggers the "Payment Request Button", which is a customizable payment flow that supports multiple payment methods including Apple Pay.
      Few possibilities for problem could be:
      -You may have typed the wrong PaymentIntent ID. Make sure you are using the correct unique identifier of the PaymentIntent you want to use.
      -The PaymentIntent could have been deleted. In this case, you will need to create a new one.
      -You may not have the required permissions to view the PaymentIntent. In this case, you need to check your Stripe Dashboard and settings.
      If the problem persists, consider contacting Stripe Support for help with your specific account and settings issue.

  • @lopesdeVega
    @lopesdeVega ปีที่แล้ว

    Hi, how can i put apple pay payment method button on my stripe?? you start with a coding page, what is that?? where do i get this ? i tried to follow all the steps but it is just circled links that make you just go around all pages of the website and back to the orignal.i think if you want to make a video about how to do what you claim to know doing. start from the beginning, not from the middle.

    • @StripeDev
      @StripeDev  ปีที่แล้ว

      Hi there-if you're having some issues with implementing the Payment Request Button element, you can instead try the Express Checkout Element: stripe.com/docs/elements/express-checkout-element.
      The link will also provide you with a demo so you can try it out first.
      We also offer a low-code option called Stripe Checkout: stripe.com/docs/payments/checkout.

    • @lopesdeVega
      @lopesdeVega ปีที่แล้ว

      thank you. very helpfull info but it doesnt explain me how to do it. it just explains what is what and their functions but nothing about how to do it.
      @@StripeDev

    • @lopesdeVega
      @lopesdeVega ปีที่แล้ว

      is there a video or an explainer somewhere where i can follow the steps from scratch?

    • @StripeDev
      @StripeDev  ปีที่แล้ว

      The steps to do this will vary depending on which coding language you choose to use. The best place to get more in-depth help would be on our Stripe Developer Discord channel which you can join here: discord.com/invite/RuJnSBXrQn.
      Or you can reach out to us via email, here: support.stripe.com/contact/login.

  • @CHETANYADAV7
    @CHETANYADAV7 2 ปีที่แล้ว

    I am getting issue Blocked js.stripe.js..port not matched ...how can I solve.I tried to find it all-over , in stackoverflow as well I did not get any help..

  • @arthur.arkipov.o
    @arthur.arkipov.o 2 ปีที่แล้ว

    Is it possible to call the 'confirm' on the server side, and not on the client side (as in Google Pay)?

    • @StripeDev
      @StripeDev  2 ปีที่แล้ว

      Yes, you can update the PaymentIntent with the payment_method created by PaymentRequestButton and confirm the PaymentIntent from backend. However, in this process, the customer will still be presented with the Apple/Google Pay paymentSheet.

  • @jvchoudary
    @jvchoudary 2 ปีที่แล้ว

    Can it work in Ionic Angular Android based mobile applications?

    • @StripeDev
      @StripeDev  2 ปีที่แล้ว

      Hey there-good question! We'd recommend looking into the Stripe Android SDK here: stripe.com/docs/libraries/android.

  • @NicedayforfishingAintIt
    @NicedayforfishingAintIt 2 ปีที่แล้ว

    Hi, thanks for the video. Is it really safe to implement the total in the client side? What happens if the client try to update this amount? will an error be fired? Thanks

    • @StripeDev
      @StripeDev  2 ปีที่แล้ว

      Hey Harison! The user won't be able to alter the amount of the payment request.

    • @NicedayforfishingAintIt
      @NicedayforfishingAintIt 2 ปีที่แล้ว

      @@StripeDev hey, thanks for your response. I'm a little bit worried to pass the amount on the client side, is it possible to do it from the server side? also, when I created a new account, I had apple pay and google pay already activated, what if I just want to mount the apple pay only (I didn't configure google pay yet and don't want to show it). Thanks a lot

    • @StripeDev
      @StripeDev  2 ปีที่แล้ว

      You can disable or enable any payment method from your Dashboard here: dashboard.stripe.com/test/settings/payment_methods
      For server-side integration, here's a guide to follow: stripe.com/docs/implementation-guides/core-payments/server-side-integration

    • @NicedayforfishingAintIt
      @NicedayforfishingAintIt 2 ปีที่แล้ว

      @@StripeDev Hey! thanks a lot for your response. So basically in the step of creating the paymentrequestButton, i can't specify that I only accept apple pay? I can only specify that in my dashboard? Thanks

    • @StripeDev
      @StripeDev  2 ปีที่แล้ว

      The Payment Request Button dynamically displays wallet options to optimize the checkout experience for your customers. Customers see Apple Pay or Google Pay if they’ve enabled them on their device, and depending on what browser they are using: stripe.com/docs/stripe-js/elements/payment-request-button

  • @brunotavares2581
    @brunotavares2581 3 ปีที่แล้ว

    hello great content, couldn't find in docs, which fake card can i use to test this integration ?

    • @cjav_dev
      @cjav_dev 3 ปีที่แล้ว

      Hey Bruno! You can use any real cards and in testmode the number will be replaced with the 4242 test card number.

  • @francismori7
    @francismori7 3 ปีที่แล้ว

    Would that show a Google Pay button on a Chrome context? I see no reference in the code to Apple Pay specifically

    • @StripeDev
      @StripeDev  3 ปีที่แล้ว

      Yep-you can find more details here: stripe.com/docs/stripe-js/elements/payment-request-button

  • @arvilleclores
    @arvilleclores 10 หลายเดือนก่อน

    bro, where do you even go to enter all this?

    • @StripeDev
      @StripeDev  10 หลายเดือนก่อน

      Hey Arv-for a development-focused solution like in the video, coding in HTML and JavaScript is required. If you need an easier option, consider Stripe Checkout, which may offer a simpler alternative for you. For more info on Stripe Checkout, visit: stripe.com/docs/payments/checkout.

  • @portman8909
    @portman8909 2 ปีที่แล้ว

    How do you do this on wordpress? Do I need a plugin?

    • @StripeDev
      @StripeDev  2 ปีที่แล้ว

      Hey there-you can find more information about accepting Stripe payments via WordPress here: stripe.com/docs/plugins/wordpress. Hope this helps.

  • @melbaotero8619
    @melbaotero8619 3 ปีที่แล้ว +1

    I am not a developer.How can I activate my apple pay? where can I find that black area with codes? people should explain step by step :(

    • @cjav_dev
      @cjav_dev 3 ปีที่แล้ว

      Hey Melba, Thanks for reaching out. These tutorials are for showing developers how to integrate Apple Pay. I recommend reaching out to support to help walk through how to enable Apple Pay for your customers depending on the Stripe products you're using: support.stripe.com/contact.

    • @abrarahmed7549
      @abrarahmed7549 3 ปีที่แล้ว +1

      You should hire a developer to do so

  • @miguelangel0625
    @miguelangel0625 3 ปีที่แล้ว

    What terminal app is that?

    • @cjav_dev
      @cjav_dev 3 ปีที่แล้ว

      Hey ThatOneHispanicKid, The app is called iTerm and the editor I use is vim.

  • @MrVIPKent
    @MrVIPKent ปีที่แล้ว

    Thanks for video, very usefull. Now I am trying to do that on Angular

    • @StripeDev
      @StripeDev  ปีที่แล้ว

      Thanks for the feedback, Oleksandr! We're here if you have any questions.

    • @MrVIPKent
      @MrVIPKent ปีที่แล้ว

      @@StripeDev do you have any angular videos about Stripe?

    • @StripeDev
      @StripeDev  ปีที่แล้ว +1

      Hi Oleksandr-thanks for reaching out! We're checking into this for you, and we'll send you a message as soon as we can.

    • @MrVIPKent
      @MrVIPKent ปีที่แล้ว

      @@StripeDev it's great!

  • @Skit-Riders
    @Skit-Riders ปีที่แล้ว

    apple pay is not working on chrome Browser

    • @StripeDev
      @StripeDev  ปีที่แล้ว

      Hi Raj-we would like to investigate this closer. Mind sending us an email with more details and screenshots here: support.stripe.com/contact/email? Thanks!

  • @aaaddd732
    @aaaddd732 6 หลายเดือนก่อน

    how to display only apple payment

    • @StripeDev
      @StripeDev  6 หลายเดือนก่อน

      Hi there-you can override Stripe's default logic of sorting payment methods by relevance and set your preferred order using the paymentMethodOrder option.

    • @aaaddd732
      @aaaddd732 6 หลายเดือนก่อน

      @@StripeDev tks much , i'll try it

  • @granddeluxe123
    @granddeluxe123 2 ปีที่แล้ว +1

    why do you make thins difficult?? why cant i just add api???

    • @StripeDev
      @StripeDev  2 ปีที่แล้ว

      Hi there! Can you let us know which part you need help with?

    • @granddeluxe123
      @granddeluxe123 2 ปีที่แล้ว

      @@StripeDev first of all. I use woocommerce stripe plugin.
      When I try to install ios certificate it said I need to be a member of Apple developer program. Which I need to pay as an individual / sole trader.
      That's the road block. Can't install the certificate. Then I have to install sdk of ios? What for? We as business owners are not developers or coders

    • @StripeDev
      @StripeDev  2 ปีที่แล้ว

      Gotcha, thank you for the feedback.
      You can also share more here and we can do our best to escalate it further to our team: forms.gle/VjNqzRhotM2snYo88

  • @StripeDev
    @StripeDev  ปีที่แล้ว

    Hi Raj-we would like to investigate this closer. Mind sending us an email with more details and screenshots here: support.stripe.com/contact/email? Thanks!

  • @afaqkhurshid
    @afaqkhurshid 2 ปีที่แล้ว

    where i can get this
    .cli.json
    .env.example
    .gitigorne
    license
    readme
    plz help i am stuck my button not show it shows only Html tag Apple pay

    • @StripeDev
      @StripeDev  2 ปีที่แล้ว

      Hey there-could you provide us with a bit more details on what you're trying to do?