capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
MIT License
185 stars 74 forks source link

docs: [example/server] Can send custom amount, currency, and customer… #191

Closed hideokamoto-stripe closed 2 years ago

hideokamoto-stripe commented 2 years ago

Before

We always get a new Payment Intent as the following details.

After

We can send a custom order detail.

curl http://localhost:3000/intent -XPOST \
-H 'Content-Type: application/json' \
-d '{"amount": 100, "currency": "jpy", "customer_id": "cus_xxx"}'
netlify[bot] commented 2 years ago

Deploy Preview for capacitor-community-stripe ready!

Name Link
Latest commit 1e8503877ac19631a80b956db549e0957f9f31ad
Latest deploy log https://app.netlify.com/sites/capacitor-community-stripe/deploys/62ac1b481bd50200094babd7
Deploy Preview https://deploy-preview-191--capacitor-community-stripe.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

rdlabo commented 2 years ago

Thanks!!