Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payment methods are gone after upgrade civi+omnipay #40

Closed
stijndmd opened this issue Dec 18, 2017 · 11 comments
Closed

Payment methods are gone after upgrade civi+omnipay #40

stijndmd opened this issue Dec 18, 2017 · 11 comments

Comments

@stijndmd
Copy link

Hi all

Upgraded civicrm to 4.7.28 and omnipay to 2.4.

On my contributions page, the listed payment options are now gone. On the live website (with the old civi and omnipay), the payment options are still listed.

Thoughts?

@eileenmcnaughton
Copy link
Owner

By payment options I assume you mean payment processors? Are they still available & selected on the contribution page configuration page? Which processors are you using

@stijndmd
Copy link
Author

They are no longer shown/available on the contribution confirmation page.

We're using the Mollie payment and bank transfer. But it's just the options that aren't showing anymore for the users. There are no javascript errors in the console that aren't also there on the live website.

@stijndmd
Copy link
Author

stijndmd commented Dec 18, 2017

The entire fieldset element in the screenshot below is missing on the upgraded version of this website.

screen shot 2017-12-18 at 16 06 34

Below is what I'm getting on the same page on the upgraded version. But I'm getting the same thing when I rewind the omnipay upgrade, so I'm thinking its something related to the civicrm upgrade.

screen shot 2017-12-18 at 16 09 43

@eileenmcnaughton
Copy link
Owner

There were some regressions in 4.7.28 that affected sites using a point as a thousand separator - civicrm/civicrm-core#11412 and I'm wondering if the js that determines whether there is a monetary amount involved is maybe tripping up? Is there a js error?

@eileenmcnaughton
Copy link
Owner

It would be good if you join chat.civicrm.org to discuss / track this one down

@stijndmd
Copy link
Author

Hi Eileen

Sorry for the huge delay here. The patch in the linked issue did not resolve my issue.
There are no useable js errors in console. (The same as the production environment which isn't updated yet and has working payment options).

I'll check to join the chat this afternoon if I don't find the problem before that.

@stijndmd
Copy link
Author

Oh and there is also nothing of use being logged in ConfigAndLog

@eileenmcnaughton
Copy link
Owner

SO it seems this section is missing ?

  {if $form.payment_processor_id.label}
  {* PP selection only works with JS enabled, so we hide it initially *}
  <fieldset class="crm-public-form-item crm-group payment_options-group" style="display:none;">
    <legend>{ts}Payment Options{/ts}</legend>
    <div class="crm-public-form-item crm-section payment_processor-section">
      <div class="label">{$form.payment_processor_id.label}</div>
      <div class="content">{$form.payment_processor_id.html}</div>
      <div class="clear"></div>
    </div>
  </fieldset>
  {/if}

@stijndmd
Copy link
Author

stijndmd commented Jan 4, 2018

Correct.

@stijndmd
Copy link
Author

stijndmd commented Jan 5, 2018

The problems were some legacy custom made extensions for events and contributions and are now fixed.

Thanks for the assistance though!

@stijndmd stijndmd closed this as completed Jan 5, 2018
@eileenmcnaughton
Copy link
Owner

whoppee!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants