Answers.Body: <p>Right - correct behaviour is for that button to only show if there is a valid live processor which returns true for supportsBackOffice</p>
  
  <p>UPDATE - <a href="https://github.com/civicrm/civicrm-core/pull/11743" rel="nofollow noreferrer">Patch</a> has now been submitted to avoid loading of this button for invalid processors.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-28T23:05:11.707Z
Answers.Text: Am thinking there is some bug that results in the button showing even if no suitable processor exists
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-01T03:57:20.270Z
Answers.Text: patch on its way
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-01T03:58:12.163Z
Answers.Text: but the point here is the button should not show for PPs that are not suited. The issue i am hearing others having is it 'used' to work and now doesn't but if that is true then a separate issue
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-01T13:04:46.770Z
Answers.Text: Thanks very much for the quick response! I've applied the patch and that's worked for me.
Answers.UserDisplayName: nbaosullivan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-28T22:23:11.210Z
Answers.LastActivityDate: 2018-03-01T06:22:27.643Z
Answers.LastEditDate: 2018-03-01T06:22:27.643Z
Answers.UserDisplayName: user4278
Body: <p>After updating to 4.7.30 there is a new "Submit Credit Card Contribution" button under the Contribution tab on a contact, which would be a very welcomed feature but I receive the following error message.</p>
  
  <blockquote>
    <p><strong>Error</strong> </p>
    
    <p>You will need to configure the live settings for your Payment Processor before >you can submit a credit card transactions.</p>
  </blockquote>
  
  <p>I'm using a valid Sagepay Payment Processor (with test and live credentials) that works elsewhere. I created a dummy test payment processor and that brought up the contribution form just fine. I debugged the code a bit and it seems that it's only returning <code>BackOffice</code> processors as the processor mode is not set in AbstractEditPayment.php.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks in advance.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-28T23:05:11.067Z
Comments.Text: https://chat.civicrm.org/civicrm/pl/wmn84ab617rymcz386pkdnj7rc
Comments.UserDisplayName: petednz - fuzion
Tags: <drupal><civicontribute><4.7>
Title: Submit Credit Card Contribution error with valid payment processor
ThreadText: # Submit Credit Card Contribution error with valid payment processor
  
  (Asked by: username_0 on 2018-02-28)
  
  After updating to 4.7.30 there is a new "Submit Credit Card Contribution" button under the Contribution tab on a contact, which would be a very welcomed feature but I receive the following error message.
  
  > **Error**
  >
  > You will need to configure the live settings for your Payment Processor before >you can submit a credit card transactions.
  
  I'm using a valid Sagepay Payment Processor (with test and live credentials) that works elsewhere. I created a dummy test payment processor and that brought up the contribution form just fine. I debugged the code a bit and it seems that it's only returning `BackOffice` processors as the processor mode is not set in AbstractEditPayment.php.
  
  Any ideas?
  
  Thanks in advance.
  
  **Tags:** drupal, civicontribute, 4.7
  
  > **Comments:**
  > **username_1**: https://chat.civicrm.org/civicrm/pl/wmn84ab617rymcz386pkdnj7rc  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-02-28. Score: 3 | Accepted answer
  
  Right - correct behaviour is for that button to only show if there is a valid live processor which returns true for supportsBackOffice
  
  UPDATE - [Patch](https://github.com/civicrm/civicrm-core/pull/11743) has now been submitted to avoid loading of this button for invalid processors.
  
  > **Comments:**
  > **username_1**: Am thinking there is some bug that results in the button showing even if no suitable processor exists  
  > **username_1**: patch on its way  
  > **username_1**: but the point here is the button should not show for PPs that are not suited. The issue i am hearing others having is it 'used' to work and now doesn't but if that is true then a separate issue  
  > **username_0**: Thanks very much for the quick response! I've applied the patch and that's worked for me.  
  
  ---
  
  