Coder Social home page Coder Social logo

paymill-payment-form's Introduction

paymill-payment-form

Example html form for Paymill payments.

##Setup Use composer to include the paymill lib. Since the composer files are already in the project, all you have to do is to call composer -install

##Skeuocard-Setup Download https://github.com/kenkeiter/skeuocard/zipball/master and unzip that folder. After that delete all files except the folders (fonts,images,javascripts,styles).

Then you download paymill-payment-skeuocard.html and move it to the skeuocard folder (that one where you deleted the files). Enjoy.

##Try now:

Simple forms for "Credit Card", "Credit Card 3D secure" and "Direct debit"

Twitter Bootstrap combined form for "Credit Card" and "Direct debit" (with language switcher)

Twitter Bootstrap form for "Credit Card" (with language switcher)

Twitter Bootstrap form for "Direct debit" (with language switcher)

Twitter Bootstrap form for "Direct debit(SEPA)" (with language switcher)

Twitter Bootstrap form for "Direct debit(Combined with SEPA)" (with language switcher)

paymill-payment-form's People

Contributors

enesf avatar kazemek avatar leifbladt avatar panzi avatar stoilkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

paymill-payment-form's Issues

Form still not working

Throwing an error in console and frontend.

Console:

21 : CS -> BG : FAILED rebuildcontextonload onloadwff.js:78
33 : CS -> BG : FAILED getprefs onloadwff.js:78

Frontend:

invalid_public_key

Catching Error Events in Request.php

Hi,

Can you help me to set the error events in request.php? If something goes wrong and I get some error code back from paymill 40XXX or 50XXX that I catch them and redirect the customer to failure page.
Thanks.

Submitting form in demo mode

After submitting form on demo mode (http://htmlpreview.github.io/?https://github.com/paymill/paymill-payment-form/blob/master/index.html) Nginx is throwing a "405 - not allowed".

Console:

Refused to execute script from 'https://raw.github.com/paymill/paymill-payment-form/master/js/vendor/modernizr-2.6.2.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. htmlpreview.min.js:1

Refused to execute script from 'https://raw.github.com/paymill/paymill-payment-form/master/js/plugins.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. htmlpreview.min.js:1

Refused to execute script from 'https://raw.github.com/paymill/paymill-payment-form/master/js/main.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. htmlpreview.min.js:1

Uncaught TypeError: Cannot read property 'src' of null findblog.js:12

Response for blacklisted accounts/ cards

The response for blacklisted accounts/card in the payment form is unknown_error but with this response merchant receives correct error.

Can you fix this error for our support team?

Amount value in payment.php

Make sure the payment.php file retrieve the order amount value through order reference or another unique reference. $_POST['amount'] can be manipulated via regular Firefox browser in the html form which is sending the value to payment.php. My tests has shown that if you edit the amount value in the html form (via firefox) and then submit it, the transaction will process successfully and you will end up with receiving different amount (can be lower) but having the impression that everything is alright.

error in error requests

Hey guys,
just found a small error and wanted to share it. When you leave the card holder field empty, it throws out the error, but doesn't stop the process, so that the paying process continues. In the paymill_payment.html at the part
switch (paymenttype) {
case "cc":

needs to be a "return false" after the three ifs.

Wrong bridge URL

Currently the most examples (except the index.html) point to bridge.paymill.de @cbraun75 bridge.paymill.com is the correct one, right?
If yes, I will send a PR.

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.