Repository navigation
Tags
Tags
Update to match docs (stripe#67) * [breaking] Rename create_intent -> create_payment_intent. Clients shouldnt pass amount * Use keyword arguments for readability * Authenticate in create_payment_intent * Use default arguments in create_payment_intent * Refactor out create_and_capture_payment * [breaking] Combine capture_payment and confirm_payment endpoint into confirm_payment, like the docs recommend. * Organize methods * Remove payment_method_types, it should always be 'card' (the default). card_present is not relevant for this backend * [breaking] Dont pass amount * Add source_id params to create_payment_intent so its parity with manual version * Move Setup Intent endpoint down too * Add PI webhook * Comment hardcoded amount * Rename manual PI endpoint to /confirm_payment_intent * fix * Refactor out create_payment_intent * Add customer_id to create_payment_intent, for Standard Integration. * [breaking] payment_method -> payment_method_id Also, use_stripe_sdk comment, finish refactoring out create_payment_intent * Dont pass currency from client either! * Add emoji to the iOS Backend (stripe#68) * Add emoji store products to backend * Add 3063 (3ds1 required) card * Always calculate_price, fix up default ending up being overwritten to 0
Add `order_id` to Charges and `my_customer_id` to Customers created i… …n sample app. (stripe#35) This shows off using the `metadata` field to include application-specific information in the Stripe objects. These metadata fields can be used for looking up the associated Order/Customer in your app's backend, given the Order/Customer from Stripe.
Add support for creating a PaymentIntent via the sample backend (stri… …pe#34) * Making all parameters controllable by client * Pass back intent ID + secret * Update Stripe ruby library to 3.17 for PaymentIntents. Support was added in 3.16: https://github.com/stripe/stripe-ruby/pull/657/files
PreviousNext