Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.2.0 #4

Merged
merged 43 commits into from
Dec 3, 2018
Merged

Version 0.2.0 #4

merged 43 commits into from
Dec 3, 2018

Conversation

calebkleveter
Copy link
Contributor

@calebkleveter calebkleveter commented Oct 17, 2018

Fixes #2
Fixes #3

@calebkleveter calebkleveter added bug Something isn't working enhancement New feature or request labels Oct 17, 2018
@calebkleveter calebkleveter self-assigned this Oct 17, 2018
This let you access the secret and ID anyway you want and pass them into the PayPalProvider initializer instead of having to assign environment variables
Replaced version initialization in PayPalProvider with a Version enum, making all versions safe. You can't pass in a bad number, i.e. 3.1415
@calebkleveter calebkleveter added the Don't Merge The PR is not ready to be merged yet. Wait until the label is removed label Nov 19, 2018
Added required .version property to all PayPalController types. Reaplced throwing .path() method with .path computed property
…ved /PaymentDetails dir to /Payment/Details dir
@calebkleveter calebkleveter force-pushed the develop branch 2 times, most recently from b28a0bf to 2e48999 Compare November 21, 2018 17:52
Instead of having a protocol that two separate types conform to, we use a base generic type that can use different coding keys for encoding/decoding the currency and value
We also changed the  type from String to Decimal. This removes the need to validation of the  property and feels more native. The custom encoding/decoding methods use string<->decimal conversion for the value
@calebkleveter calebkleveter removed the Don't Merge The PR is not ready to be merged yet. Wait until the label is removed label Dec 3, 2018
@calebkleveter calebkleveter merged commit c4b0d39 into master Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant