Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(org.ofbiz.accounting.payment.PaymentGatewayServices)
this is where you will find the services that show up in the productstores payment screen.
These are used in the demo data to allow sales to be processed without actually going thru a payment processor, like paypalpayflow.

  • Credit Card Payment Authorization Service alwaysApproveCCProcessor
  • Credit Card Payment Capture Service testCCCapture (declines all orders < 100.00; approves all orders >= 100.00)
  • Credit Card Payment Re-Authorization Service alwaysApproveCCProcessor
    Each of these need to changed to a service for the payment processor you are using, unless it is noted as a external payment system like paypal.
    and example from the IcsPaymentServices.java
  • Credit Card Payment Authorization Service ccAuth
  • Credit Card Payment Capture Service ccCapture
  • Credit Card Payment Re-Authorization Service ccReAuth

there is description is the xml file that will not be added here.
The following set of services are for testing

...

these can be used for Capture Service

  • testCCCaptureWithReAuth – this one actually calls PaymentGatewayServices.getAuthTransaction
  • testCCProcessorCaptureAlwaysDecline
  • testCCRelease
  • testCCRefund
  • testCCRefundFailure
  • alwaysBadExpireCCProcessor
  • badExpireEvenCCProcessor
  • alwaysBadCardNumberCCProcessor
  • alwaysFailCCProcessor

...