wp-pay-extensions/contact-form-7

Contact Form 7 driver for the WordPress payment processing library.

v3.7.0 2024-12-17 14:09 UTC

README

Contact Form 7 driver for the WordPress payment processing library.

Amount Field

The amount field can be a text, number, drop-down menu, checkboxes or radio buttons field, it requires the pronamic_pay_amount option:

[number pronamic_pay_amount]

Currency

Payments are created with the Euro currency by default. An ISO 4217 currency code can be provided using the pronamic_pay_currency field name or as a field option:

[hidden pronamic_pay_currency "CHF"]

[select select-123 pronamic_pay_currency "EUR" "CHF"]

WordPress environment for building and testing

npx wp-env start

For testing with wp-env you probably want to disable the default Contact Form 7 mail. You can achieve this by editing the form and including the following under 'Additional Settings':

skip_mail: on

Links