Utility API Calls for the Parking Reform Network
- cv api PRN.importcharge ppid=(payment processor id) charge=(stripe charge id) contact_id=(contact id) financial_type_id=(financial type id)
The importcharge api in the Stripe Extension for CiviCRM doesn't work with one-off transactions that do not have a stripe invoice. This modified version hacks support for those transacations in. Use at your own risk.
The extension is licensed under AGPL-3.0.
- PHP v7.2+
- CiviCRM 5.5+
- https://lab.civicrm.org/extensions/stripe Extension and MJW Payment Shared
Learn more about installing CiviCRM extensions in the CiviCRM Sysadmin Guide.
Sysadmins and developers may download the .zip file for this extension and
install it with the command-line tool cv.
cd <extension-dir>
cv dl prn_api@https://github.com/twjordan/prn_api/archive/master.zipSysadmins and developers may clone the Git repo for this extension and install it with the command-line tool cv.
git clone https://github.com/twjordan/prn_api/prn_api.git
cv en prn_api- No tests!
- financial_type lookup doesn't work, id required.
Based on script in CiviCRM Stripe Extension https://lab.civicrm.org/extensions/stripe