-
Notifications
You must be signed in to change notification settings - Fork 438
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
Add support for Stripe Elements and Apple Pay (via Payment Request API) #305
Add support for Stripe Elements and Apple Pay (via Payment Request API) #305
Conversation
bbonislawski
commented
Jan 24, 2018
•
edited by damianlegawiec
Loading
edited by damianlegawiec
a78a1c2
to
22773d1
Compare
@bbonislawski Is it valid? |
22773d1
to
3964c07
Compare
488b8b0
to
4277e47
Compare
ae31bf0
to
4277e47
Compare
lib/controllers/frontend/spree/apple_pay_domain_verification_controller.rb
Outdated
Show resolved
Hide resolved
f99374f
to
728c38c
Compare
lib/controllers/frontend/spree/apple_pay_domain_verification_controller.rb
Outdated
Show resolved
Hide resolved
lib/controllers/frontend/spree/apple_pay_domain_verification_controller.rb
Outdated
Show resolved
Hide resolved
lib/views/frontend/spree/checkout/payment/_stripe_additional_info.html.erb
Outdated
Show resolved
Hide resolved
31f5dce
to
deabf2e
Compare
@damianlegawiec, locally all the tests are passing (no timeouts). Before my last changes, I had the same situation, I had to rebuild couple of times on travis, then it went through. Wanted to do the same now, but for some reason I cannot see a Rebuild button anymore. |
cdf7a51
to
f7a648c
Compare
f7a648c
to
46ffade
Compare
46ffade
to
03252f4
Compare
lib/controllers/spree/apple_pay_domain_verification_controller.rb
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we also need to:
- Include instructions in README for steps required for ApplePay setup
- Instruction on how to use SSL in dev environment
def apple_pay? | ||
payment_method.is_a? Spree::Gateway::StripeApplePayGateway | ||
end | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be useful to also have a scope like from_credit_card
but for apple pay payments
from_apple_pay
for example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@caudatecoder let's do it on another occasion :)
@caudatecoder I'm working on a tutorial for this and a demo app - but this is out of the scope of this repository :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found one minor, but everything else looks ok.
…verification_certificate as textarea
This change will allow to use this in applications not using the default Spree frontend. Also rewritten controller specs to request specs.
…y Domain Verification endpoint
db45151
to
0412072
Compare