You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GUIDE.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ We also support installing our SDK using Carthage. You can simply add github "pa
44
44
45
45
### Step 2: Configure API keys
46
46
47
-
First, you'll want to configure Paystack with your publishable API key. We recommend doing this in your `AppDelegate`'s `application:didFinishLaunchingWithOptions:` method so that it'll be set for the entire lifecycle of your app.
47
+
First, you'll want to configure Paystack with your public API key. We recommend doing this in your `AppDelegate`'s `application:didFinishLaunchingWithOptions:` method so that it'll be set for the entire lifecycle of your app.
We've placed a test publishable API key as the PaystackPublishableKey constant in the above snippet. You'll need to swap it out with your live publishable key in production. You can see all your API keys in your dashboard.
80
+
We've placed a test public API key as the PaystackPublicKey constant in the above snippet. You'll need to swap it out with your live public key in production. You can see all your API keys in your dashboard.
81
81
82
82
### Step 3: Collecting credit card information
83
83
84
84
#### Test Mode
85
85
86
-
When you're using your test publishable key, our libraries give you the ability to test your payment flow without having to charge real credit cards.
86
+
When you're using your test public key, our libraries give you the ability to test your payment flow without having to charge real credit cards.
87
87
88
88
If you're building your own form or using `PSTCKPaymentCardTextField`, using the card number `4123450131001381` with CVC `883` (along with any future expiration date) will accomplish the same effect.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ Note: The example app requires Xcode 8.0 to build and run.
36
36
Before you can run the app, you need to provide it with your Paystack public key.
37
37
38
38
1. If you haven't already, sign up for a [Paystack account](https://dashboard.paystack.com/#/signup) (it takes seconds). Then go to https://dashboard.paystack.co/#/settings/developer.
39
-
2. Replace the `paystackPublishableKey` constant in ViewController.swift (for the Sample app) with your Test Public Key.
39
+
2. Replace the `paystackPublicKey` constant in ViewController.swift (for the Sample app) with your Test Public Key.
40
40
41
41
#### Additional Setup if you will be testing chargeToken
0 commit comments