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 processor list not updated #20

Open
roland-jungwirth opened this issue Dec 4, 2016 · 4 comments
Open

Payment processor list not updated #20

roland-jungwirth opened this issue Dec 4, 2016 · 4 comments

Comments

@roland-jungwirth
Copy link

Running on Wordpress/CiviCRM.

  1. Install the extension.
  2. Add Omnifast-Payfast gateway in composer.json
  3. Add payfast gateway and delete all others (see attachment).
  4. Go to Administer > System Settings > Payment Processors.
  5. Add payment processor.
  6. The list is still default, payfast doesn't exist (see attachment)

dropdown

[processors.mgd.php.txt](https://github.com/eileenmcnaughton/nz.co.fuzion.omnipaymultiprocessor/files/629444/processors.mgd.php.txt)
@eileenmcnaughton
Copy link
Owner

You need to add payfast to the list of processors by updating the .mgd file - the readme text in the file should help

@roland-jungwirth
Copy link
Author

Thank you for your answer. Yes, I have done that. I've removed all others and only have the Payfast processor:

`return array(
1 => array(
'name' => 'OmniPay - PayFast',
'entity' => 'payment_processor_type',
'params' =>
array(
'version' => 3,
'title' => 'OmniPay - PayFast',
'name' => 'omnipay_PayFast',
'description' => 'PayFast Payment Processor',
'user_name_label' => 'Username',
'password_label' => 'Password',
'class_name' => 'Payment_OmnipayMultiProcessor',
'url_site_default' => 'http://unused.com',
'url_api_default' => 'http://unused.com',
'url_recur_default' => 'http://unused.com',
'url_site_test_default' => 'http://unused.com',
'url_recur_test_default' => 'http://unused.com',
'url_api_test_default' => 'http://unused.com',
'billing_mode' => 4,
'payment_type' => 1,
),
),

);`

@eileenmcnaughton
Copy link
Owner

Removing the others will probably cause problems - but if you flush the system it will try to create the new one - you can do it through the api - civicrm_api(''System', 'flush', array()); or by disabling & re-enabling the extension

@shifthappens
Copy link

Disabling and enabling the extension usually helps to load in new payment processors. @eileenmcnaughton maybe a good idea to add this to the readme. I had the same problem until I re-enabled the Omnipay extension within WordPress.

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

3 participants