Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Placeholder shows "placehoder.card_n..." - Critical Bug - #36

Closed
Gilmargolin opened this issue Mar 23, 2014 · 5 comments
Closed

Placeholder shows "placehoder.card_n..." - Critical Bug - #36

Gilmargolin opened this issue Mar 23, 2014 · 5 comments

Comments

@Gilmargolin
Copy link

creditcard textfield shows placehoder.card_n... field instead of blank.

@crmitchelmore
Copy link

Also having the same problem

@Gilmargolin
Copy link
Author

I solved it by adding the following code to the viewcontroller where i added paymentView
First you must import
#import "PaymentKit/PKTextField.h"

self.stripeView.paymentView.cardNumberField.placeholder = @"Card Number";
self.stripeView.paymentView.cardExpiryField.placeholder = @"Expiry";
self.stripeView.paymentView.cardCVCField.placeholder = @"CVV";

@crmitchelmore
Copy link

I think adding it to the podspec should fix it too.
#37

@brenwell
Copy link

I have added it to my fork's .podspec and it works fine 'PaymentKit/Resources/Localization/*'

https://github.com/brenwell/PaymentKit/blob/master/PaymentKit.podspec

@phillco
Copy link
Contributor

phillco commented Mar 24, 2014

Sorry you ran into this! The latest master should fix this; we'll have a CocoaPods release out very soon.

@phillco phillco closed this as completed Mar 24, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants