Answers.Body: <p>After ensuring that all the permission settings were correct, I still couldn't see my CiviContribute form unless I was logged in.</p>
  
  <p>But, once I disabled the <code>Administer|CiviContribute|CiviContribute Component Settings|Enable Access Control by Financial Type</code> checkbox, I was able to view and use the CiviContribute form anonymously.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-17T18:08:52.073Z
Answers.LastActivityDate: 2020-01-17T18:08:52.073Z
Answers.UserDisplayName: Día
Answers.Body: <p>Since you have questions regarding the specific steps you took, I copy and paste all of them below and intersperse with my responses (<strong>IN BOLD CAPS</strong> for clarity):</p>
  
  <ol>
  <li>I set up a CiviCRM Membership and a Price Set for the membership <strong>> GOOD</strong></li>
  <li>I created a profile (including custom fields) for the membership registration <strong>> GOOD</strong></li>
  <li>I ticked the box that says 'Account Creation Required' under WordPress user account registration option for the profile > <strong>YOU MUST INCLUDE A PRIMARY EMAIL ADDRESS FIELD IN THE PROFILE FOR THIS FEATURE TO FUNCTION PROPERLY</strong></li>
  <li>I've set up a CiviCRM Payment Page for membership fees using above profile. <strong>> GOOD</strong></li>
  <li>I've checked the permissions for Anonymous Users to create, edit, view profiles...<strong>> AS INDICATED</strong> <a href="https://docs.civicrm.org/user/en/latest/membership/online-membership-sign-up/#permissions-needed-for-online-membership-sign-uprenewal" rel="nofollow noreferrer"><strong>HERE</strong></a>, <strong>YOU ALSO NEED TO ENABLE THE PERMISSION FOR
  PROFILE LISTINGS AND FORMS</strong>
  ...and Access all custom data fields (Not sure this is necessary?) <strong>> YES, THIS TOO <em>IS</em> NECESSARY</strong></li>
  <li>CiviCRM: access contact reference fields is checked for Anonymous users <strong>> UNLESS YOU ARE USING CONTACT REFERENCE FIELDS IN YOUR PROFILE, THIS IS <em>NOT</em> NECESSARY</strong></li>
  <li>CiviCRM: add contributions of type Campaign Contribution is checked for Anonymous users <strong>> UNLESS YOU ARE USING THE FINANCIAL TYPE OF CAMPAIGN CONTRIBUTION FOR MEMBERSHIP DUES, THIS IS <em>NOT</em> NECESSARY</strong></li>
  <li>CiviContribute: make online contributions is checked for Anonymous user <strong>> GOOD</strong></li>
  <li>CiviCRM: access Contact Dashboard is checked for Anonymous user (not sure if necessary?) > <strong>AS INDICATED</strong> <a href="https://docs.civicrm.org/user/en/latest/initial-set-up/permissions-and-access-control/#giving-users-the-ability-to-view-their-contact-dashboard" rel="nofollow noreferrer"><strong>HERE</strong></a>, <strong>THIS PERMISSION SHOULD <em>NOT</em> BE GIVEN TO ANONYMOUS USER</strong></li>
  <li>I've created a Wordpress page and used the CiviCRM shortcode to add the payment page <strong>> IF YOU HAVE ALL OF THE REQUIRED FIELDS IN PLACE PERMISSIONS ENABLED AND THIS STILL ISN'T WORKING FOR YOU, PERHAPS YOU SHOULD TRY USING ONE OF THE OTHER OPTIONS FOR LINKING YOUR MEMBERSHIP PAGE TO YOUR WEBSITE AS INDICATED <a href="https://docs.civicrm.org/user/en/latest/membership/online-membership-sign-up/#in-wordpress" rel="nofollow noreferrer">HERE</a></strong></li>
  </ol>
  
  <p>Hope this helps!
  Tamar</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-10T00:13:39.057Z
Answers.Text: Hi Tamar, thank you for all the information. I have updated the list points on my original post to note your changes. For 5, I have an email (Primary) field set, so that should be OK. For 6, I've left it as I'm using address fields from Contacts. One thing, in your link for Membership setups, it says for Wordpress: Go to Contributions > Manage Contribution Pages, click Links. I don't see Contributions in the top civiCRM, I have Payments, and under that 'create payment pages', etc. Is that not the same as Contribution pages?
Answers.UserDisplayName: Tracy Shorrock
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-10T00:25:56.377Z
Answers.Text: Sorry, that should have been 3 (re the primary email field). This is the page that goes on about clicking Contributions / Manage Contribution pages, but I only have Payments / Manage Payment pages. https://docs.civicrm.org/user/en/latest/membership/online-membership-sign-up/
Answers.UserDisplayName: Tracy Shorrock
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-10T00:34:20.170Z
Answers.Text: I went to Payments / Payment Pages, and copied the Live link. This too is not accessible to anonymous users :(
Answers.UserDisplayName: Tracy Shorrock
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-10T16:30:28.717Z
Answers.Text: Hi Tracy - yes, payment pages would be the same as contribution pages - it could be that you have a word replacement in place that changes "Contribution" with "Payment" - in any case, did you enable the specific permission of "Profile Listings and Forms" mentioned in number 5?
Answers.UserDisplayName: Tamar Meir - Cividesk
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-11T20:32:07.297Z
Answers.Text: Hi, yes, I did (no 9 in my list now). I just can't see anything that's preventing the permission issue for payment (contribution) pages. Not even the ones set up with civiCRM when I did the initial installation (I chose to have the sample data installed). I am getting a status error and cron jobs don't appear to be working, but I have done them maunally from the civiCRM Scheduled Jobs dashboard.
Answers.UserDisplayName: Tracy Shorrock
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-11T20:49:45.487Z
Answers.Text: Short of the page not being marked as active on the "Info & Settings"  (which I kind of doubt you would have missed), and assuming that you have not limited visibility of the wordpress page to logged in users, the only other suggestion would be to compare you membership page with another contribution page that is accessible to anonymous users and then disable those differences from the membership page one-by-one until it becomes accessible to anonymous users - in that way you can pinpoint where the issue lies.
Answers.UserDisplayName: Tamar Meir - Cividesk
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-12T21:24:55.347Z
Answers.Text: That's the problem. I cannot access any payment/contribution pages when not logged in.
Answers.UserDisplayName: Tracy Shorrock
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-15T21:59:50.973Z
Answers.Text: Hi Tracy, going back and reading your comments, I don't believe the errors you are finding in the cron jobs would impact payment page accessibility for anonymous users, and since it sounds like you have everything in place on the Civi side, let's double check the WordPress side - I know that you indicated that you originally used the shortcode to embed the payment page in a wordpress page - perhaps the issues is with the shortcode - can you confirm whether the shortcode reads as follows:
Answers.UserDisplayName: Tamar Meir - Cividesk
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-15T22:07:10.370Z
Answers.Text: [civicrm component="contribution" id="X" mode="live" hijack="1"] where "X represents the payment page ID and hijack="1" overrides the page content; also, check that the visibility to the wordpress page is sent to public.
Answers.UserDisplayName: Tamar Meir - Cividesk
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-16T22:42:32.337Z
Answers.Text: Hi, I used the built-in civiCRM shortcode in the Editor and looked like that, but I'll check again. In answer to your comment, yes the page visibility was set to anonymous users. A weird thing happened though. I switched the Wordpress page from the full-width page template to one with a sidebar and it became accessible to anonymous visitors. I had made a few other changes in civiCRM, so trying to determine where the issue lies and will post an answer once I track it down. Thanks for all the pointers and the links, I had't thought to set profile listings and forms on.
Answers.UserDisplayName: Tracy Shorrock
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-17T00:11:29.487Z
Answers.Text: Hi again, glad to hear your payment pages are finally visible to anonymous users - my guess would be that some element in the first template was restricting the view from anonymous users. FYI - regarding your cron job errors - I doubt those have anything to do with the contribution pages, but they might point to other configuration issues for which you should either post new questions or seek professional assistance to resolve.
Answers.UserDisplayName: Tamar Meir - Cividesk
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-09T22:04:25.693Z
Answers.LastActivityDate: 2018-10-09T22:04:25.693Z
Answers.UserDisplayName: Tamar Meir - Cividesk
Answers.Body: <p>I'm getting the exact same problem. Wordpress 6.6.2 and CiviCRM 5.78.4.
  I can't find any &quot;Enable Access Control by Financial Type checkbox&quot;.
  I tried to disable and re-enable CiviContribute entity, but I got a lot of DB errors after it...
  Obviously I've do a lot of research in the forum, chat, ... The permissions are set correctly (make online contributions, Ajax, ...)
  <strong>Who can help?</strong>
  Also I'm trying tu use the stripe plugin and I'm able to do payment from the admin pages, but not from the frontend public pages. I guess that it is related to the</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-04T18:51:22.427Z
Answers.Text: Sorry to hear you are having problems. You are probably better to ask a new question, and refer to this one (eg "I tried all the steps at xyz"). Otherwise, as this is not an 'Answer' it will get moderated to just a comment on the original question.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-04T11:44:04.960Z
Answers.LastActivityDate: 2024-11-04T11:44:04.960Z
Answers.UserDisplayName: Fredatipik
Body: <p>[I have updated some information following Tamara's answer, but it is still not accessible by anonymous users]</p>
  
  <p>I need people to be able to be able to sign up and pay for membership.</p>
  
  <ol>
  <li>I set up a CiviCRM Membership and a Price Set for the membership</li>
  <li>I created a profile (including custom fields) for the membership registration</li>
  <li>I ticked the box that says 'Account Creation Required' under <strong>WordPress user account registration option</strong> for the profile <strong>[Update: one of the profile fields is Email (Primary)]</strong></li>
  <li>. I've set up a CiviCRM Payment Page for membership fees using above profile. <strong>[UPDATE: I set up some Word Replacements, hence Payment page not Contribution page.]</strong></li>
  <li>I've checked the permissions for Anonymous Users to create, edit, view profiles.</li>
  <li>CiviCRM: Access all custom data fields checked for Anonymous</li>
  <li>CiviCRM: access contact reference fields is checked for Anonymous users <strong>[Update: I'm using address details from Contacts]</strong></li>
  <li>CiviContribute: make online contributions  is checked for Anonymous user</li>
  <li><strong>[Update]</strong> CiviCRM: Profile listings and forms:  is checked for Anonymous user</li>
  <li>I've created a Wordpress page and used the CiviCRM shortcode to add the payment page</li>
  </ol>
  
  <p>When I access that page logged in, it displays no problem. Logged out, it's coming up with the civiCRM alert 'You do not have permission to access this page.'</p>
  
  <p>When this happened before for another civiCRM profile I set up (with no payment), it was because I had not ticked 'Create' within the civiCRM shortcode options for Profiles; as soon as I did that, anonymous users could you see the page and fill in the form and create an account.</p>
  
  <p>However, with a payment page, I'm not seeing an option for 'Create'.</p>
  
  <p>How do a I set up a page where people can sign up for membership, create an account in Wordpress, and pay the fee all at the same time when not logged in?</p>
  
  <p>Any help much appreciated.</p>
  
  <p><a href="http://members.bizharbour.net/member-sign-up/" rel="nofollow noreferrer">The page in question</a>.</p>
  
  <p>Cheers,
  Tracy</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-10T00:39:35.623Z
Comments.Text: In fact, none of the payment/contribution pages are accessible to anonymous visitors. I tried the link to the 'Help Support CiviCRM!' page, and get the same message " Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred.
  You do not have permission to access this page.
  Return to home page."
Comments.UserDisplayName: Tracy Shorrock
Tags: <wordpress><permissions>
Title: Payment Page not accessible to anonymous users in Wordpress
ThreadText: # Payment Page not accessible to anonymous users in Wordpress
  
  (Asked by: username_0 on 2018-10-09)
  
  [I have updated some information following Tamara's answer, but it is still not accessible by anonymous users]
  
  I need people to be able to be able to sign up and pay for membership.
  
  1. I set up a CiviCRM Membership and a Price Set for the membership
  2. I created a profile (including custom fields) for the membership registration
  3. I ticked the box that says 'Account Creation Required' under **WordPress user account registration option** for the profile **[Update: one of the profile fields is Email (Primary)]**
  4. . I've set up a CiviCRM Payment Page for membership fees using above profile. **[UPDATE: I set up some Word Replacements, hence Payment page not Contribution page.]**
  5. I've checked the permissions for Anonymous Users to create, edit, view profiles.
  6. CiviCRM: Access all custom data fields checked for Anonymous
  7. CiviCRM: access contact reference fields is checked for Anonymous users **[Update: I'm using address details from Contacts]**
  8. CiviContribute: make online contributions is checked for Anonymous user
  9. **[Update]** CiviCRM: Profile listings and forms: is checked for Anonymous user
  10. I've created a Wordpress page and used the CiviCRM shortcode to add the payment page
  
  When I access that page logged in, it displays no problem. Logged out, it's coming up with the civiCRM alert 'You do not have permission to access this page.'
  
  When this happened before for another civiCRM profile I set up (with no payment), it was because I had not ticked 'Create' within the civiCRM shortcode options for Profiles; as soon as I did that, anonymous users could you see the page and fill in the form and create an account.
  
  However, with a payment page, I'm not seeing an option for 'Create'.
  
  How do a I set up a page where people can sign up for membership, create an account in Wordpress, and pay the fee all at the same time when not logged in?
  
  Any help much appreciated.
  
  [The page in question](http://members.bizharbour.net/member-sign-up/).
  
  Cheers,
  username_0
  
  **Tags:** wordpress, permissions
  
  > **Comments:**
  > **username_0**: In fact, none of the payment/contribution pages are accessible to anonymous visitors. I tried the link to the 'Help Support CiviCRM!' page, and get the same message " Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred. You do not have permission to access this page. Return to home page."  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2020-01-17. Score: 1
  
  After ensuring that all the permission settings were correct, I still couldn't see my CiviContribute form unless I was logged in.
  
  But, once I disabled the `Administer|CiviContribute|CiviContribute Component Settings|Enable Access Control by Financial Type` checkbox, I was able to view and use the CiviContribute form anonymously.
  
  
  ---
  
  ### Answer by username_2 on 2018-10-09. Score: 1
  
  Since you have questions regarding the specific steps you took, I copy and paste all of them below and intersperse with my responses (**IN BOLD CAPS** for clarity):
  
  1. I set up a CiviCRM Membership and a Price Set for the membership **> GOOD**
  2. I created a profile (including custom fields) for the membership registration **> GOOD**
  3. I ticked the box that says 'Account Creation Required' under WordPress user account registration option for the profile > **YOU MUST INCLUDE A PRIMARY EMAIL ADDRESS FIELD IN THE PROFILE FOR THIS FEATURE TO FUNCTION PROPERLY**
  4. I've set up a CiviCRM Payment Page for membership fees using above profile. **> GOOD**
  5. I've checked the permissions for Anonymous Users to create, edit, view profiles...**> AS INDICATED** [**HERE**](https://docs.civicrm.org/user/en/latest/membership/online-membership-sign-up/#permissions-needed-for-online-membership-sign-uprenewal), **YOU ALSO NEED TO ENABLE THE PERMISSION FOR
     PROFILE LISTINGS AND FORMS**
     ...and Access all custom data fields (Not sure this is necessary?) **> YES, THIS TOO *IS* NECESSARY**
  6. CiviCRM: access contact reference fields is checked for Anonymous users **> UNLESS YOU ARE USING CONTACT REFERENCE FIELDS IN YOUR PROFILE, THIS IS *NOT* NECESSARY**
  7. CiviCRM: add contributions of type Campaign Contribution is checked for Anonymous users **> UNLESS YOU ARE USING THE FINANCIAL TYPE OF CAMPAIGN CONTRIBUTION FOR MEMBERSHIP DUES, THIS IS *NOT* NECESSARY**
  8. CiviContribute: make online contributions is checked for Anonymous user **> GOOD**
  9. CiviCRM: access Contact Dashboard is checked for Anonymous user (not sure if necessary?) > **AS INDICATED** [**HERE**](https://docs.civicrm.org/user/en/latest/initial-set-up/permissions-and-access-control/#giving-users-the-ability-to-view-their-contact-dashboard), **THIS PERMISSION SHOULD *NOT* BE GIVEN TO ANONYMOUS USER**
  10. I've created a Wordpress page and used the CiviCRM shortcode to add the payment page **> IF YOU HAVE ALL OF THE REQUIRED FIELDS IN PLACE PERMISSIONS ENABLED AND THIS STILL ISN'T WORKING FOR YOU, PERHAPS YOU SHOULD TRY USING ONE OF THE OTHER OPTIONS FOR LINKING YOUR MEMBERSHIP PAGE TO YOUR WEBSITE AS INDICATED [HERE](https://docs.civicrm.org/user/en/latest/membership/online-membership-sign-up/#in-wordpress)**
  
  Hope this helps!
  username_2
  
  > **Comments:**
  > **username_0**: Hi username_2, thank you for all the information. I have updated the list points on my original post to note your changes. For 5, I have an email (Primary) field set, so that should be OK. For 6, I've left it as I'm using address fields from Contacts. One thing, in your link for Membership setups, it says for Wordpress: Go to Contributions > Manage Contribution Pages, click Links. I don't see Contributions in the top civiCRM, I have Payments, and under that 'create payment pages', etc. Is that not the same as Contribution pages?  
  > **username_0**: Sorry, that should have been 3 (re the primary email field). This is the page that goes on about clicking Contributions / Manage Contribution pages, but I only have Payments / Manage Payment pages. https://docs.civicrm.org/user/en/latest/membership/online-membership-sign-up/  
  > **username_0**: I went to Payments / Payment Pages, and copied the Live link. This too is not accessible to anonymous users :(  
  > **username_2**: Hi username_0 - yes, payment pages would be the same as contribution pages - it could be that you have a word replacement in place that changes "Contribution" with "Payment" - in any case, did you enable the specific permission of "Profile Listings and Forms" mentioned in number 5?  
  > **username_0**: Hi, yes, I did (no 9 in my list now). I just can't see anything that's preventing the permission issue for payment (contribution) pages. Not even the ones set up with civiCRM when I did the initial installation (I chose to have the sample data installed). I am getting a status error and cron jobs don't appear to be working, but I have done them maunally from the civiCRM Scheduled Jobs dashboard.  
  > **username_2**: Short of the page not being marked as active on the "Info & Settings"  (which I kind of doubt you would have missed), and assuming that you have not limited visibility of the wordpress page to logged in users, the only other suggestion would be to compare you membership page with another contribution page that is accessible to anonymous users and then disable those differences from the membership page one-by-one until it becomes accessible to anonymous users - in that way you can pinpoint where the issue lies.  
  > **username_0**: That's the problem. I cannot access any payment/contribution pages when not logged in.  
  > **username_2**: Hi username_0, going back and reading your comments, I don't believe the errors you are finding in the cron jobs would impact payment page accessibility for anonymous users, and since it sounds like you have everything in place on the Civi side, let's double check the WordPress side - I know that you indicated that you originally used the shortcode to embed the payment page in a wordpress page - perhaps the issues is with the shortcode - can you confirm whether the shortcode reads as follows:  
  > **username_2**: [civicrm component="contribution" id="X" mode="live" hijack="1"] where "X represents the payment page ID and hijack="1" overrides the page content; also, check that the visibility to the wordpress page is sent to public.  
  > **username_0**: Hi, I used the built-in civiCRM shortcode in the Editor and looked like that, but I'll check again. In answer to your comment, yes the page visibility was set to anonymous users. A weird thing happened though. I switched the Wordpress page from the full-width page template to one with a sidebar and it became accessible to anonymous visitors. I had made a few other changes in civiCRM, so trying to determine where the issue lies and will post an answer once I track it down. Thanks for all the pointers and the links, I had't thought to set profile listings and forms on.  
  > **username_2**: Hi again, glad to hear your payment pages are finally visible to anonymous users - my guess would be that some element in the first template was restricting the view from anonymous users. FYI - regarding your cron job errors - I doubt those have anything to do with the contribution pages, but they might point to other configuration issues for which you should either post new questions or seek professional assistance to resolve.  
  
  ---
  
  ### Answer by username_3 on 2024-11-04. Score: 0
  
  I'm getting the exact same problem. Wordpress 6.6.2 and CiviCRM 5.78.4.
  I can't find any "Enable Access Control by Financial Type checkbox".
  I tried to disable and re-enable CiviContribute entity, but I got a lot of DB errors after it...
  Obviously I've do a lot of research in the forum, chat, ... The permissions are set correctly (make online contributions, Ajax, ...)
  **Who can help?**
  Also I'm trying tu use the stripe plugin and I'm able to do payment from the admin pages, but not from the frontend public pages. I guess that it is related to the
  
  > **Comments:**
  > **username_4**: Sorry to hear you are having problems. You are probably better to ask a new question, and refer to this one (eg "I tried all the steps at xyz"). Otherwise, as this is not an 'Answer' it will get moderated to just a comment on the original question.  
  
  ---
  
  