IntentやCustomerを サーバー側で作成 • createPaymentSheetと presentPaymentSheetで表示 • iOS / Androidでの対応を考えると、 自前実装はちょっと難易度高め 19 Ionic / CapacitorでStripe <IonItem button onClick={async e => { e.preventDefault() const { customer, paymentIntent, ephemeralKey } = await createPaymentIntent() await stripe.createPaymentSheet({ paymentIntentClientSecret: paymentIntent, customerId: customer, customerEphemeralKeySecret: ephemeralKey, merchantDisplayName: 'rdlabo' }) await stripe.presentPaymentSheet() }} > <IonLabel>Order</IonLabel> </IonItem> #ionic_jp