# Incorporating Apple Pay/Stripe using https

**URL:** <https://forum.ionicframework.com/t/incorporating-apple-pay-stripe-using-https/200852>\
**Category:** Capacitor\
**Created:** [December 7, 2020, 4:20pm UTC](https://forum.ionicframework.com/t/incorporating-apple-pay-stripe-using-https/200852 "2020-12-07T16:20:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![LinnaeK](https://avatars.discourse-cdn.com/v4/letter/l/7cd45c/32.png) [@LinnaeK](https://forum.ionicframework.com/u/LinnaeK)\
**Post date:** [December 7, 2020, 4:20pm UTC](https://forum.ionicframework.com/t/incorporating-apple-pay-stripe-using-https/200852/1 "2020-12-07T16:20:54Z")

</div>

We are using Stripe and are working on incorporating Apple Pay into our app. However, Apple Pay requires that all requests come from an origin with `https` protocol and on ios the protocol for the origin on a capacitor app is `capacitor://localhost`. I have combed every forum, stack overflow thread, etc. and have not come up with a solution yet. Has anyone successfully incorporated Apple Pay into their apps or figured out a way to send requests via `https`? (From [this thread](https://forum.ionicframework.com/t/https-for-the-app-server-protocol-instead-of-capacitor-on-ios/200116) the latter seems unlikely).

---

<div class="post-metadata">

**Author:** ![wekas](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/wekas/32/124745_2.png) [@wekas](https://forum.ionicframework.com/u/wekas)\
**Post date:** [April 16, 2021, 11:56pm UTC](https://forum.ionicframework.com/t/incorporating-apple-pay-stripe-using-https/200852/2 "2021-04-16T23:56:30Z")

</div>

Did you end up coming up with a solution?  
I need to do the same.

---

<div class="post-metadata">

**Author:** ![migue99angel](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@migue99angel](https://forum.ionicframework.com/u/migue99angel)\
**Post date:** [February 21, 2022, 2:31pm UTC](https://forum.ionicframework.com/t/incorporating-apple-pay-stripe-using-https/200852/3 "2022-02-21T14:31:05Z")

</div>

Do you find a solution ? I have a similar issue

---

<div class="post-metadata">

**Author:** ![thomasvidas](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/thomasvidas/32/137760_2.png) [@thomasvidas](https://forum.ionicframework.com/u/thomasvidas)\
**Post date:** [February 21, 2022, 3:22pm UTC](https://forum.ionicframework.com/t/incorporating-apple-pay-stripe-using-https/200852/4 "2022-02-21T15:22:33Z")

</div>

A very late response 😅 , but if you are an enterprise customer (or want to be!) you can use the officially supported `@ionic/payments` package to enable the use of Google and Apple Pay in your app. If you don’t, you could try the community `@capacitor-community/stripe` plugin, but that is Stripe only.

> **[Payments](https://ionic.io/products/payments)**
>
> Secure payment experiences across all the devices and platforms your customers care about.

> **[GitHub - capacitor-community/stripe: Stripe Mobile SDK wrapper for Capacitor](https://github.com/capacitor-community/stripe)**
>
> Stripe Mobile SDK wrapper for Capacitor. Contribute to capacitor-community/stripe development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![wekas](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/wekas/32/124745_2.png) [@wekas](https://forum.ionicframework.com/u/wekas)\
**Post date:** [February 21, 2022, 8:06pm UTC](https://forum.ionicframework.com/t/incorporating-apple-pay-stripe-using-https/200852/5 "2022-02-21T20:06:12Z")

</div>

> [@thomasvidas](#):
>
> @capacitor-community/stripe

As @thomasvidas said take a look at @capacitor-community/stripe.  
The enterprise solution is very expensive if you are not a large organisation.

---

<div class="post-metadata">

**Author:** ![ciccilleju](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ciccilleju/32/135142_2.png) [@ciccilleju](https://forum.ionicframework.com/u/ciccilleju)\
**Post date:** [February 21, 2022, 9:26pm UTC](https://forum.ionicframework.com/t/incorporating-apple-pay-stripe-using-https/200852/6 "2022-02-21T21:26:09Z")

</div>

The solution is using the stripe capacitor plugin , i use it in my app and it works flawlessly

---

<div class="post-metadata">

**Author:** ![Ali-Gharsheen](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@Ali-Gharsheen](https://forum.ionicframework.com/u/Ali-Gharsheen)\
**Post date:** [June 9, 2023, 9:50am UTC](https://forum.ionicframework.com/t/incorporating-apple-pay-stripe-using-https/200852/7 "2023-06-09T09:50:42Z")

</div>

can you plz guide me how to do it.  
I tried but i have issues.

---

<div class="post-metadata">

**Author:** ![ciccilleju](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ciccilleju/32/135142_2.png) [@ciccilleju](https://forum.ionicframework.com/u/ciccilleju)\
**Post date:** [June 9, 2023, 10:28am UTC](https://forum.ionicframework.com/t/incorporating-apple-pay-stripe-using-https/200852/8 "2023-06-09T10:28:22Z")

</div>

[https://stripe.capacitorjs.jp/](https://stripe.capacitorjs.jp/) here the doc
