v0.3.0
Example integrations of Hosted Fields: the same payment, one server per language.
hosted-fields-examples-go_*_linux_*.tar.gz— one static binary with the pages
embedded, plusdeploy/. Needs no runtime.hosted-fields-examples-go_*_darwin_arm64.tar.gz,
hosted-fields-examples-go_*_windows_amd64.zip— the same binary for trying the
example on a laptop. Nodeploy/: the systemd unit and the nginx snippet are for
a Linux server.hosted-fields-examples-nodejs-express-js_*.tar.gz— bundledserver.jswith
public/,views/anddeploy/. Needs Node 20+, nonode_modules.hosted-fields-examples-php.tar.gz— the sources withpublic/,views/and
deploy/. Needs PHP 8.4 with curl and openssl, no Composer:php -Sfor a look,
PHP-FPM behind nginx for anything else.hosted-fields-examples-python.tar.gz— the sources withtests/,public/,
views/anddeploy/. Needs Python 3.12+ and, unlike the others, a
pip install -r requirements.txtinto a venv on the target; then gunicorn.hosted-fields-examples-ruby.tar.gz— the sources withtest/,public/,
views/anddeploy/. Needs Ruby 3.1+ and abundle installon the target, then
puma. Note that macOS's system Ruby 2.6 will not run it.hosted-fields-examples-java.tar.gz— one jar with the pages inside it, plus
deploy/. Needs a JRE 21+ and nothing else:java -jar hosted-fields-example-java.jar.hosted-fields-examples-nextjs.tar.gz— the standalone Next.js server with
public/,.next/anddeploy/. Needs Node 20+,node server.js. The URL
prefix is compiled in: rebuild from source to change it.
Settings and the RSA key are supplied through the environment, see the README.
What's Changed
Full Changelog: v0.2.0...v0.3.0