Wallet Pass Generator for Gravity Forms
A secure, dynamic solution for generating Apple Wallet passes from Gravity Forms entries. This plugin allows administrators to map form fields directly to Apple Wallet pass locations including Primary, Secondary, Auxiliary, Header, and Back fields.
Configuration
- Global Settings: Navigate to the Wallet Pass global settings page. Enter your Apple Team ID, Pass Type ID, and the absolute server path to your
.p12certificate file. - Form Setup: Open a specific Gravity Form and navigate to Settings > Wallet Pass.
- Primary Field: Map a label and a field source. This field is required to generate a valid pass.
- Optional Fields: Provide labels for Header, Secondary, Auxiliary, or Back fields. If a label is left blank, that specific field will be omitted from the generated pass.
- Visuals: Specify absolute paths for your logo and icon. For best results, use 320×100 PNG for logos and 58×58 PNG for icons.
- QR Code: Enter a URL or text in the QR Code Message field to enable the barcode on the pass.
Troubleshooting
Common Error: OpenSSL “invalid key length”
If you see this error on modern hosting (like SiteGround), it means your .p12 file is using older encryption that OpenSSL 3.x rejects by default.
To fix this, perform the “2-Step Legacy to Modern AES” conversion on your Mac Terminal:
-
Unpack the original file (requires your Keychain password): openssl pkcs12 -in YourCert.p12 -nodes -out temp.pem
-
Repack it using Modern AES-256 encryption: openssl pkcs12 -export -in temp.pem -out YourCert_Fixed.p12 -certpbe AES-256-CBC -keypbe AES-256-CBC -macalg SHA256
-
Upload YourCert_Fixed.p12 to your server and update the password in settings.
Error: “Could not find private key”
This occurs if you only exported the Certificate from Keychain Access. Fix: In Keychain Access, click the arrow (▶) next to the certificate to reveal the Private Key. Highlight BOTH items before selecting “Export”.