New answers tagged

1 vote

How to print USA tax receipt to individuals?

So I picked Iowa Boy's answer as correct because it helped me figure out the basics of what I wanted to do. However I modified it to better suit our needs. We did not need line items, but just the ...
user avatar
  • 299
2 votes
Accepted

Contribution Test Pages work only for Amount = $1.00

That's functioning as it should -> VISA 4222222222222220 / exp date in future and CVV any 3 digits -> will result in OK for all $amounts VISA 411111111111111 / exp date in future and CVV any 3 ...
user avatar
1 vote

What are all the reasons a CiviCRM URL would return a 404?

So, I missed the part in the documentation that says you should really have AllowOverride not set to None in the Apache http configuration file for .htaccess. I went and did a fresh install (...
user avatar
1 vote
Accepted

How to get the Financial Type name/label in Smarty template?

Well after MUCH testing and playing around, I figured out what I needed, and I post it here in hopes it will help other noobs... Financial Type Name was retreived using $contribution.financial_type ...
user avatar
  • 299
0 votes
Accepted

API4 PHP Fatal error Uncaught API_Exception Authorization failed

Because you're using a manual way to bootstrap civi (as opposed to e.g. running your script with cv scr --user=admin), you need to either add code in there to also "log in" as a user, or you ...
user avatar
  • 17.6k
1 vote

Contribution Pages are not working in Test-Drive Mode

It's hard to know without more information, but here are some possible causes: You don't have test payment credentials set up at Administer » System Settings » Payment Processors. You've reused your ...
user avatar
0 votes

WordPress 5.9 and CiviCRM 5.46 Donation Forms JQuery Errors

I had the same issue on a system with WordPress 5.8.4 and CiviCRM 5.47.4. and what solved it for us was one of the theme's compatibility function called Defer jQuery And jQuery Migrate which (un)...
user avatar
  • 101
2 votes

Access Civi functions from outside wordpress plugin

You could also access CiviCRM API3 via the WordPress REST API or WP-CLI depending on your use case: https://docs.civicrm.org/dev/en/latest/api/v3/wp-rest/ https://docs.civicrm.org/dev/en/latest/api/...
user avatar
1 vote
Accepted

Access Civi functions from outside wordpress plugin

Start reading here: https://docs.civicrm.org/dev/en/latest/framework/bootstrap/#how-to-bootstrap-civicrm If running your code with cv is an option for what you're trying to do, like a shell script, ...
user avatar
  • 17.6k
0 votes

Display thank you page for offline contributions (civicontribute)

"Offline" in civi can be a misleading term - it means a staff member has entered it in the backend, e.g. using the Memberships - New Membership menu choice. So you can't redirect to a thank-...
user avatar
  • 17.6k
0 votes
Accepted

How can we offer (and track) multiple premiums for a single contribution?

for a really manual set up, if you set up a number field (Free Entries Remaining) on the specific Membership Types, and set it to start as Default = 5 (for Silver) or 10 (for Gold), then each time a ...
user avatar
  • 26.9k

Top 50 recent answers are included