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

Button Update #216

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 42 additions & 33 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,54 +1,63 @@
sudo: required
dist: trusty
---
os: linux
dist: bionic

addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable

services:
- mysql
- postgresql

language: ruby

script:
- bundle exec rake test_app
- bundle exec rake spec
rvm:
- 2.5
- 2.6
- 2.7

env:
- DB=mysql
- DB=postgres

addons:
chrome: stable
postgresql: 9.4

rvm:
- 2.3.8
- 2.4.4
- 2.5.1

gemfile:
- gemfiles/spree_3_5.gemfile
- gemfiles/spree_3_7.gemfile
- gemfiles/spree_4_0.gemfile
- gemfiles/spree_4_1.gemfile
- gemfiles/spree_master.gemfile

before_install:
- mysql -u root -e "GRANT ALL ON *.* TO 'travis'@'%';"

matrix:
jobs:
exclude:
- rvm: 2.5.1
gemfile: gemfiles/spree_3_5.gemfile
- rvm: 2.4.4
- rvm: 2.6
gemfile: gemfiles/spree_3_7.gemfile
- rvm: 2.7
gemfile: gemfiles/spree_3_7.gemfile
- rvm: 2.5
gemfile: gemfiles/spree_4_0.gemfile
- rvm: 2.3.8
- rvm: 2.7
gemfile: gemfiles/spree_4_0.gemfile
- rvm: 2.4.4
gemfile: gemfiles/spree_master.gemfile
- rvm: 2.3.8
- rvm: 2.5
gemfile: gemfiles/spree_4_1.gemfile
- rvm: 2.7
gemfile: gemfiles/spree_4_1.gemfile
- rvm: 2.5
gemfile: gemfiles/spree_master.gemfile
allow_failures:
- gemfile: gemfiles/spree_master.gemfile
- gemfile: gemfiles/spree_master.gemfile

before_install:
- mysql -u root -e "GRANT ALL ON *.* TO 'travis'@'%';"
- wget -N https://chromedriver.storage.googleapis.com/2.35/chromedriver_linux64.zip -P ~/
- unzip ~/chromedriver_linux64.zip -d ~/
- rm ~/chromedriver_linux64.zip
- sudo mv -f ~/chromedriver /usr/local/share/
- sudo chmod +x /usr/local/share/chromedriver
- sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver

before_script:
- CHROME_MAIN_VERSION=`google-chrome-stable --version | sed -E 's/(^Google Chrome |\.[0-9]+ )//g'`
- CHROMEDRIVER_VERSION=`curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_MAIN_VERSION"`
- curl "https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip" -O
- unzip chromedriver_linux64.zip -d ~/bin

script:
- bundle exec rake test_app
- bundle exec rake spec
12 changes: 6 additions & 6 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
appraise 'spree-3-5' do
gem 'spree', '~> 3.5.0'
gem 'rails-controller-testing'
end

appraise 'spree-3-7' do
gem 'spree', '~> 3.7.0'
gem 'rails-controller-testing'
end

appraise 'spree-4-0' do
gem 'spree', '~> 4.0.0.rc2'
gem 'spree', '~> 4.0.0'
gem 'rails-controller-testing'
end

appraise 'spree-4-1' do
gem 'spree', '~> 4.1.0'
gem 'rails-controller-testing'
end

Expand Down
6 changes: 2 additions & 4 deletions app/assets/javascripts/spree/frontend/spree_paypal_express.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//= require spree/frontend

SpreePaypalExpress = {
var SpreePaypalExpress = {
updateSaveAndContinueVisibility: function() {
if (this.isButtonHidden()) {
$(this).trigger('hideSaveAndContinue')
Expand All @@ -23,7 +21,7 @@ SpreePaypalExpress = {
}
}

$(document).ready(function() {
document.addEventListener("DOMContentLoaded", function() {
SpreePaypalExpress.updateSaveAndContinueVisibility();
paymentMethods = $('div[data-hook="checkout_payment_step"] input[type="radio"]').click(function (e) {
SpreePaypalExpress.updateSaveAndContinueVisibility();
Expand Down
37 changes: 37 additions & 0 deletions app/assets/stylesheets/spree/frontend/card_styling.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@mixin button_styles {
vertical-align: top;
text-align: left;
width: 100%;
max-width: 332px;
display: inline-block;
padding: 9px 0;
text-align: center;
overflow: hidden;
text-decoration: none;
border-radius: 4px;
}

div#paypal_express_checkout {
margin-top: 10px;
text-align: center;

a#paypal_button {
@include button_styles;
margin: 7px 0 0 0;
background-color: #FEC349;

img {
position: relative;
width: 96px;
line-height: 0.5em;

&#paypal_logo_colour {
width: 90px;
}
}

&:hover {
background-color: #F2BA46;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/*
*= require spree/frontend
*= require spree/frontend/card_styling
*/
12 changes: 7 additions & 5 deletions app/models/spree/gateway/pay_pal_express.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ def provider_class

def provider
::PayPal::SDK.configure(
:mode => preferred_server.present? ? preferred_server : "sandbox",
:username => preferred_login,
:password => preferred_password,
:signature => preferred_signature)
provider_class.new
mode: preferred_server.present? ? preferred_server : "sandbox",
username: preferred_login,
password: preferred_password,
signature: preferred_signature,
ssl_options: { ca_file: nil }
)
provider_class.new
end

def auto_capture?
Expand Down
17 changes: 13 additions & 4 deletions app/views/spree/checkout/payment/_paypal.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@

<%= link_to(image_tag("https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif"), paypal_express_url(:payment_method_id => payment_method.id), :method => :post, :id => "paypal_button") %>
<div id="paypal_express_checkout">
<div>
<%= link_to paypal_express_url( payment_method_id: payment_method.id ),
method: :post,
id: "paypal_button" do %>
<%= render partial: 'spree/shared/paypal_color_logo', cached: true %>
<% end %>
</div>
</div>

<script>
SpreePaypalExpress.paymentMethodID = "<%= payment_method.id %>"
</script>
document.addEventListener("DOMContentLoaded", function() {
SpreePaypalExpress.paymentMethodID = "<%= payment_method.id %>"
})
</script>
1 change: 1 addition & 0 deletions app/views/spree/shared/_paypal_color_logo.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<img id="paypal_logo_color" alt="PayPal Logo" src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj48c3ZnIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAyNDYgNjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgeG1sbnM6c2VyaWY9Imh0dHA6Ly93d3cuc2VyaWYuY29tLyIgc3R5bGU9ImZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDoxLjQxNDIxOyI+PGcgaWQ9InBwX2hfcmdiIj48cGF0aCBpZD0iRmlsbC0xIiBkPSJNMTkwLjQyMiwyNi40MzJjLTAuNzM3LDQuODQxIC00LjQzNCw0Ljg0MSAtOC4wMSw0Ljg0MWwtMi4wMzQsMGwxLjQyNywtOS4wMzhjMC4wODYsLTAuNTQ2IDAuNTU3LC0wLjk0OCAxLjExLC0wLjk0OGwwLjkzMywwYzIuNDMzLDAgNC43MzMsMCA1LjkxOCwxLjM4NmMwLjcwOSwwLjgzIDAuOTI0LDIuMDYgMC42NTYsMy43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Ljk1NGwxLjQ0LDBjOS4zMjMsMCAxNi42MjMsLTMuNzg4IDE4Ljc1NiwtMTQuNzQyYzAuODkxLC00LjU3NyAwLjQzMSwtOC4zOTcgLTEuOTI2LC0xMS4wODNjLTAuNzEzLC0wLjgxMiAtMS42LC0xLjQ4NSAtMi42MzUsLTIuMDMyIiBzdHlsZT0iZmlsbDojMjc5MGMzOyIvPjxwYXRoIGlkPSJGaWxsLTEyIiBkPSJNNDIuODkxLDE0LjU5OGMtMC4zNzIsLTAuMTEgLTAuNzU1LC0wLjIwNyAtMS4xNTEsLTAuMjk1Yy0wLjM5NiwtMC4wODggLTAuODAyLC0wLjE2NSAtMS4yMjEsLTAuMjMzYy0xLjQ2NCwtMC4yMzUgLTMuMDY1LC0wLjM0OCAtNC43ODMsLTAuMzQ4bC0xNC40OTYsMGMtMC4zNTYsMCAtMC42OTUsMC4wODEgLTAuOTk5LDAuMjI2Yy0wLjY2OSwwLjMyMSAtMS4xNjUsMC45NTQgLTEuMjg3LDEuNzI4bC0zLjA4MSwxOS41MzZsLTAuMDg5LDAuNTdjMC4yMDMsLTEuMjg2IDEuMzAyLC0yLjIzNCAyLjYwNCwtMi4yMzRsNS40MjcsMGMxMC42NTcsMCAxOS4wMDEsLTQuMzI5IDIxLjQzOSwtMTYuODVjMC4wNzMsLTAuMzcxIDAuMTM0LC0wLjczIDAuMTg5LC0xLjA4M2MtMC42MTYsLTAuMzI3IC0xLjI4NSwtMC42MDggLTIuMDA0LC0wLjg0N2MtMC4xOCwtMC4wNiAtMC4zNjIsLTAuMTE2IC0wLjU0OCwtMC4xNyIgc3R5bGU9ImZpbGw6IzFmMjY0ZjsiLz48L2c+PC9zdmc+">
4 changes: 2 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ en:
spree:
paypal:
already_refunded: "This payment has been refunded and no further action can be taken on it."
no_payment_via_admin_backend: "You cannot charge PayPal accounts through the admin backend at this time."
no_payment_via_admin_backend: "You cannot charge PayPal accounts through the admin back-end at this time."
transaction: "PayPal Transaction"
payer_id: "Payer ID"
transaction_id: "Transaction ID"
Expand All @@ -18,4 +18,4 @@ en:
flash:
cancel: "Don't want to use PayPal? No problems."
connection_failed: "Could not connect to PayPal."
generic_error: "PayPal failed. %{reasons}"
generic_error: "PayPal failed. %{reasons}"
8 changes: 0 additions & 8 deletions gemfiles/spree_3_5.gemfile

This file was deleted.

10 changes: 5 additions & 5 deletions gemfiles/spree_3_7.gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# This file was generated by Appraisal

source "https://rubygems.org"
source 'https://rubygems.org'

gem "spree", "~> 3.7.0"
gem "rails-controller-testing"
gem "sass-rails"
gem 'spree', '~> 3.7.0'
gem 'rails-controller-testing'
gem 'sass-rails'

gemspec path: "../"
gemspec path: '../'
8 changes: 4 additions & 4 deletions gemfiles/spree_4_0.gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"
source 'https://rubygems.org'

gem "spree", "~> 4.0.0.rc2"
gem "rails-controller-testing"
gem 'spree', '~> 4.0.0'
gem 'rails-controller-testing'

gemspec path: "../"
gemspec path: '../'
8 changes: 8 additions & 0 deletions gemfiles/spree_4_1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source 'https://rubygems.org'

gem 'spree', '~> 4.1.0'
gem 'rails-controller-testing'

gemspec path: '../'
8 changes: 4 additions & 4 deletions gemfiles/spree_master.gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"
source 'https://rubygems.org'

gem "spree", github: "spree/spree", branch: "master"
gem "rails-controller-testing"
gem 'spree', github: 'spree/spree', branch: 'master'
gem 'rails-controller-testing'

gemspec path: "../"
gemspec path: '../'
Loading