Giter VIP home page Giter VIP logo

civicrm-eway-recurring-payment-processor's People

Contributors

henare avatar kenwest avatar vince-cercury avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

civicrm-eway-recurring-payment-processor's Issues

CiviCRM 4.3 CRM/Core/BAO/PaymentProcessor.php not found

Trying to run process_recurring_eway_payments.php:
Fatal error: require_once(): Failed opening required 'CRM/Core/BAO/PaymentProcessor.php'

Looks like PaymentProcessor.php has moved:

"Move CRM/Core/BAO/PaymentProcessor.php to Financial directory since it's DAO is there and PaymentProcessorType.php is also there"

http://issues.civicrm.org/jira/browse/CRM-11334?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel

Also the class has changed from CRM_Core_BAO_PaymentProcessor to CRM_Financial_BAO_PaymentProcessor.

To make this script work with CiviCRM 4.3, I had to:

  • comment out: require_once 'CRM/Financial/BAO/PaymentProcessor.php'; in the script
  • copy PaymentProcessor.php back to Core. ClassLoader is trying to load the file from there, I couldn't find where this call originated (looks like a dynamic look up)
  • change reference of CRM_Core_BAO_PaymentProcessor to CRM_Financial_BAO_PaymentProcessor in the script

I have yet to try in prod

Invalid managedCustomerID

got a Invalid managedCustomerID when running in test mode, eway sandbox

Fatal error: Uncaught SoapFault exception: [soap:Client] Invalid managedCustomerID. in /home/sospakis/www/dev/sites/default/files/civicrm/custom_ext/org.civicrm.ewayrecurring/process_recurring_eway_payments.php:271

Apparently there is only one valid ManagedCustomerID which make it harder to test the script. From Eway Token documentation:

The test gateway URL is
https://www.eway.com.au/gateway/ManagedPaymentService/test/ managedCreditCardPayment.asmx
The test username is [email protected] - this is the only username that will work on the test gateway.
The test password is test123 - this is the only password that will work on the test gateway.
The test ManagedCustomerID is 9876543211000 - this is the only managed customer ID that will work on the test gateway.
The test CustomerReference is Test 123 - this is the only customer reference that will work on the test gateway.

Normal transaction works but recurring login failed

Hi, I'd appreciate your help, must be a trivial one.

Normal Payment goes trough fine.
Now for recurring payment, I got this error:

"Payment Processor Error message
9010: Login failed."

My payment page is setup to accept monthly recurring payment.

My eway payment processor urls are the default one for live:

Any idea ? has Eway changed the url ?

CiviCRM 4.3 compatibility

As noted in #1 the plugin is not currently compatible with CiviCRM 4.3.

  • Test pending contributions work
  • Test scheduled contributions work

"+1 month" considered harmful

If an instalment is paid on Oct 31, then "+1 month" will schedule the next payment on Dec 1, as there is no Nov 31.

I suggest we use the cycle_day column in the Recurring Contribution table to avoid this.

  • Pay the first instalment on the day it's scheduled (when the original Contribution is Pending)
  • Pay subsequent instalments on the 'cycle_day' of the month
  • cycle_day has a value from 1 to 28. If is set to the day-of-the-month for the first instalment, but '29', '30', and '31' round down to '28'
  • Thus subsequent payments are a month apart and no months are skipped

Should I go ahead and code this?

Bootstrap CMS

Because I am using mail tokens defined by a hook in a Drupal module, I needed to bootstrap the CMS. See kenwest@da0f9a0 for a patch

compatibility with 32 bit PHP 5.3. managed_customer_id wrong type

There is a bug in PHP which causes to convert the managed_customer_id into an integer which is wrong.
On line 262 of processs_recurring_eway_payments add:

//PHP bug: https://bugs.php.net/bug.php?id=49669. issue with value greater than 2147483647.
settype($managed_customer_id,"float");

otherwise the soap call will change the managed customer id to 2147483647 which is the greatest value of an Integer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.