Comments (9)
+1 for this. I went into this problem yesterday.
from paymentkit.
The frame you set PTKView to is completely ignored (other than x and y placement). All views and subviews are hardcoded. I kinda expected more from a Stripe library. I realize it is free, but this helper view is almost unusable in the current state.
I'd love to hear from one of the Stripe devs if a rewrite and pull request would be accepted to rework the view to use auto layout, or at the very least, some better layouts given the frame passed in.
from paymentkit.
This is ridiculous. +1
from paymentkit.
+1 The reason I used Stripe in the first place is that it's super easy to integrate. This is not super easy to integrate. Please make this widget flexible size and add the zip code too.
from paymentkit.
+1 Easy fix?
from paymentkit.
+1 Please fix or at least address the comment made by @billburgess
from paymentkit.
For anyone interested we ended up using this fork: https://github.com/lmcd/LMPaymentKit which is working full width in @3x (see its Readme file).
cc @madhikarma
from paymentkit.
+1 ... issue raised by @billburgess is brutal and shouldn't be that difficult to fix.
from paymentkit.
Hey all,
First, I'm very sorry for our delay in addressing this issue. This repository has had a lot of outstanding issues for some time now, and we've recently completed a large refactor that should address most of them.
This code has moved to https://github.com/stripe/stripe-ios, which now has a class called STPPaymentCardTextField
that has similar behavior to PTKView
. It's designed to scale to different resolutions much more flexibly, so I'd encourage you to migrate (it should take just a few minutes, and we've written a brief guide at https://github.com/stripe/paymentkit#migration). Of course, if that doesn't work for you, or you have any trouble migrating, reply here and I'll be happy to help.
Thanks for your patience, and I hope STPPaymentCardTextField
is a good fit for your needs.
from paymentkit.
Related Issues (20)
- iOS8 with Swift HOT 4
- Prefix Resources HOT 1
- Allows months to be entered as 00 HOT 1
- PTKCardExpiry.m Deprecations HOT 1
- Fix PTKTextField.h warnings in Xcode 6.3.1 HOT 1
- Missing API Delegates? HOT 2
- WARN | PaymentKit/PaymentKit/PTKTextField.h:25:54: warning: auto property synthesis will not synthesize property 'delegate'; it will be implemented by its superclass, use @dynamic to acknowledge intention [-Wobjc-property-synthesis] HOT 1
- Better card number state handling HOT 3
- Looks Broken-ish in iOS 9 HOT 4
- deprecated date constants
- Adjust look of payment view HOT 2
- Add support for Carthage HOT 1
- CocoaPods use_frameworks! images are not shown HOT 1
- [meta] Refactor to fix UI issues HOT 1
- Invalid Card number doesn't have a red text anymore HOT 1
- No way to validate custom textFields?
- cocoapod Stripe 6.2.0 : duplicate symbols while linking HOT 1
- duplicate interface definition for class HOT 1
- Migration from stripe 4.0 to latest stripe 8.x HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paymentkit.