Getting Started with Stripe! (Swift 3 in Xcode : Part 1)

Jared Davidson · 43K views · 2017 · 22:39

Open on YouTube

Software (other)Web developmenttutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering or asking about getting started with Stripe in a Swift iOS app, especially the Heroku backend and ephemeral key setup.

Recommended by 2 people across 2 different months, 2018 to 2018.

What it is

A 22-minute screencast by Jared Davidson that walks through setting up Stripe payments in an iOS app written in Swift 3 and Xcode. It uses Heroku as the backend and covers the initial setup and connecting customers, as part one of a series.

What people said

Recommends user8851874 · 2018-01 · Stack Overflow · on “Swift Stripe Saving Card Integration”

I have also had this issue when I first started to use Stripe. The first thing I did was to review the standard Stripe integration guide to make sure all the dependencies were added to the pod file, that they were installed, and that I had deployed to a backend in my case Heroku and then added the backend base url in the CheckoutViewController. I also checked to make sure that my ViewControllers had the proper target membership selected. I also made sure the app delegate had the Stripe publishable key added in the func didFinishLaunchingWithOptions. Once I did all that I was able to process a purchase from my app on my device and see a new customer, a new credit card, and a new charge in my

Recommends Niall Kiddle · 2018-02 · Stack Overflow · on “ios Stripe payment(Account to Account Transfer)”

The first step would be setting up Stripe [this video] The tutorial uses Heroku which handles the backend side of the payments. Here is the documentation [LINK] Just incase you're looking for a way to do this with Firebase , check out my answer here Swift Firebase Stripe Connect [LINK] The next step would be altering your Stripe project to work for Stripe Connect The documentation for Stripe connect is here [LINK] You basically need to setup your account to allow for users to sign up as 'Connected accounts' that can receive payments. Your stripe account takes the payment and then dishes out to the connected account accordingly, it needs to be setup in the node server. Stripe has an example projec

Cites Nasir · 2018-01 · Stack Overflow · on “Stripe cannot create Ephemeral Key”

Please have a look at [this video] I believe you need to use some remote server, instead of local server, In my Swift file I am using .responseString instead of .responseJSON by this is I am getting success but the response is a HTML file of requesting Google Signin

Cites Nasir · 2018-02 · Stack Overflow · on “iOS-Swift, Stripe createEphemeralKeys Returning Google SignIn Page”

Hi I am trying to get ephemeral key using Firebase cloud function, below is my Swift file & node’s file .swift class VIARestClient: NSObject, STPEphemeralKeyProvider { static let restClient = VIARestClient(); func createCustomerKey(withAPIVersion apiVersion: String, completion: @escaping STPJSONResponseCompletionBlock) { let URLString = API_ENDPOINT + CREATE_EMPHEREMAL_KEY as String; let custID = "cus_CEPMtLbshv7EaP"; var requestData : [String : String]? = [String : String]() requestData?.updateValue(apiVersion, forKey: "api_version"); requestData?.updateValue(custID, forKey: "customerId"); submitDataToURL(URLString, withMethod: "POST", requestData: requestData!); } func submitDataToURL(_ ur

Cites Nicholas Richardson · 2018-04 · Stack Overflow · on “Heroku status 503 app crashed”

ive never used Heroku so I have no idea how to fix the errors this is giving me. its causing my iOS app with Stripe integration to crash with status code 503 as well. I followed a tutorial here: [this video] but this error is as a result of following it. full Heroku log: 2018-04-27T18:00:25.000000+00:00 app[api]: Build started by user nicholas.richardson.05@gmail.com 2018-04-27T18:00:35.775196+00:00 app[api]: Deploy c83c401e by user nicholas.richardson.05@gmail.com 2018-04-27T18:00:35.775196+00:00 app[api]: Release v9 created by user nicholas.richardson.05@gmail.com 2018-04-27T18:00:36.402770+00:00 heroku[web.1]: State changed from crashed to starting 2018-04-27T18:00:25.000000+00:00 app[api]: Bu

Cites Marie.K · 2018-12 · Stack Overflow · on “Stripe Firestore Swift CheckoutViewController not loading ERROR 401”

============== I've recently been trying to implement Stripe into my IOS (Swift) app using Firebase, Firestore und Cloud Functions. But for some reason I'm getting this error when loading the CheckoutViewController: Response Status Code Was Unacceptable: 401. I've looked through pretty much all the documentation Stripe has put out on this topic and watched Videos that I could find, like this one [this video] That's my swift code: func createCustomerKey(withAPIVersion apiVersion: String, completion: @escaping STPJSONResponseCompletionBlock) { let url = self.baseURL.appendingPathComponent("ephemeral_keys") Alamofire.request(url, method: .post, parameters: [ "api_version": apiVersion, "customer_id":