Code Monkey home page Code Monkey logo

wp-pronamic-pay-forms's Introduction

Pronamic Pay Forms

The Pronamic Pay forms module.

wp-pronamic-pay-forms's People

Contributors

remcotolsma avatar rvdsteege avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

wp-pronamic-pay-forms's Issues

Use `render_block` in shortcode to take advantage of assets load logic?

/**
* Enqueue.
*
* @link https://mikejolley.com/2013/12/02/sensible-script-enqueuing-shortcodes/
* @link http://wordpress.stackexchange.com/questions/165754/enqueue-scripts-styles-when-shortcode-is-present
* @return void
*/
public function enqueue() {
if (
has_shortcode( get_post_field( 'post_content' ), 'pronamic_payment_form' )
||
is_singular( 'pronamic_pay_form' )
) {
wp_enqueue_style( 'pronamic-pay-forms' );
}
}

Forms not processed with page caching because of nonce

From customer:

Sinds de laatste upgrade van Pronamic Pay wordt het formulierscherm 2x achter elkaar getoond aan donateurs, zodat ze 2x dezelfde gegevens (bedrag, naam, email, bank) moeten invullen - pas daarna gaan ze door naar het scherm om de betaalmethode te kiezen. Dit weerhoudt diverse mensen ervan om te doneren, omdat ze het 'verdacht' vinden dat de site / plug-in zo werkt.

The described issue seems to be caused by the pronamic_pay_nonce in forms. I was able to start the payment with the first form submit by using a random URL parameter for cache busting.

Internal Help Scout ticket: https://secure.helpscout.net/conversation/2074253077/24820/

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.