Giter VIP home page Giter VIP logo

adyen-skinbuilder's Introduction

My Projects:

  • Geotag is a modern app for editing photo locations in your Photo Library. It runs on macOS and iPadOS.

adyen-skinbuilder's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

adyen-skinbuilder's Issues

Error Trying to Upload

Everything was working fine and I was just changing CSS for a skin and after restarting my computer I now can't upload my changes. I get the following error:

NoMethodError at /gxP20m80/upload
undefined method `get_file' for gxP20m80:Adyen::Admin::Skin
file: server.rb location: skin_file line: 37

Any idea what this is? Is there any way I can upload screenshots on here of the error so I can include more information?

Thanks.

Run fails on Windows

I have installed this on Windows and when I try to run it I get:

C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot load such fil e -- bundler/setup (LoadError) from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/adyen-skinbuilder-0.4.3/lib/adyen-skinbuilder/serve
r.rb:2:in <top (required)>' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/adyen-skinbuilder-0.4.3/bin/adyen-skinbuilder:3:in <top (required)>'
from C:/Ruby193/bin/adyen-skinbuilder:23:in load' from C:/Ruby193/bin/adyen-skinbuilder:23:in

'

Any ideas?

Update to new Adyen CSS selectors

Adyen changes there CC form fiels IDs to be prefix with 'card.'. Skinbuilder should reflect this.

But instead of updating the HTML, why not introducing an option where each skin has it's own skeleton templates? This
way the correct payment methods are shown too.

Basic Flow to get the skeletion code:

  • upload an empty skin
  • load skin, scrape code, split into parts
  • save as skeleton templates
  • make sure skeleton templates don't get added to .zip file

Make use of sinatra?

My first impression was that using sinatra would save some lines of code and improve readability... maybe let's give it a try... :-)

Resource files not loaded when building the skin

Hi, When i build the skin i can not get the translations i provide in the resources.properties file.

Everything else work perfect

|-- css

| `-- screen.css

|-- img

|-- inc

| |-- cfooter.txt

| |-- cheader.txt

`-- res

|-- resources.properties
|-- resources_es.properties
|-- resources_fr.properties
|-- resources_it.properties
|-- resources_no.properties
`-- resources_se.properties

And resources.properties looks like this
button.pay=Pay Now
card.card_number=Card number

Thanks

Locale support in server

In server.rb file add locale support so files like inc/cheader_[locale].txt will be included correctly.

Run specs like a charm + add travis-ci

I couldn't get the tests running - expected rake spec or rspec spec/lib/adyen-skinbuilder/server_spec.rb didn't work.

  `require': no such file to load -- rack/test (LoadError)

... and in addition a travis-ci hook would be double-rainbow! :-)

Skin bundle generator

Create .zip bundle that can be uploaded to Adyen based on skin directory and optionally available base directory.

Can't stop the server

To shutdown the server I hit ctrl + c but instead of stopping I get:

[2012-03-21 17:48:38] ERROR Interrupt: 
    /Users/tobi/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:90:in `select'

Only solution is to kill the process. :-(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.