CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • cart checkout not supporting notify type payment processors?
Pages: [1]

Author Topic: cart checkout not supporting notify type payment processors?  (Read 325 times)

ozminskisj

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.5.2
  • CMS version: WordPress
  • MySQL version: 5.5
  • PHP version: 5.3
cart checkout not supporting notify type payment processors?
November 11, 2014, 01:36:44 pm
I'm sure this question is related to the Paypal Standard not working question https://forum.civicrm.org/index.php/topic,34613.msg147033.html#msg147033 posted last month.

I am creating a Payment Processor modeled after PaymentExpress, which is a notify type Payment Processor that uses the doTransferCheckout function call for the payment processor object derived from CRM_Core_Payment.  When I set up an event to use this payment processor, and I have civiCRM 4.5.2 configured without cart support, the event shows a Register button, and the doTransferCheckout function eventually gets called.  If I configure civiCRM to "Use Shopping Cart Style Event Registration" in Administer\CiviEvent\CiviEvent Component Settings, then the event shows an Add to Cart button and I have to add a menu item to add a link to the system to invoke "?page=CiviCRM&q=civicrm/event/view_cart" for the checkout process.  When I try to checkout, the make_payment function in the CRM_Event_Cart_Form_Checkout_Payment object in CRM\Event\Cart\Form\Checkout\Payment.php calls doDirectPayment() for my payment processor, which is a payment function naturally not implemented in a notify type Payment Processor. 

Is there some code I am supposed to write to override make_payment() so it will call doTransferCheckout instead of doDirectPayment?  Is the new Shopping Cart functionality for Events designed to only support form type payment processors and not button or notify type payment processors?

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: cart checkout not supporting notify type payment processors?
November 11, 2014, 09:15:23 pm
Never used it. You read the associated stuff eg

"This feature allows users to register for more than one event at a time. When enabled, users will add event(s) to a "cart" and then pay for them all at once. Enabling this setting will affect online registration for all active events. The code is an alpha state, and you will potentially need to have developer resources to debug and fix sections of the codebase while testing and deploying it"

and, esp the bugs bit at end of ...

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviEvent+Cart+Checkout

Also - do you have a StackExchange account?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • cart checkout not supporting notify type payment processors?

This forum was archived on 2017-11-26.