for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class AuthorizeCaptureService extends PaymentService{
/**
* Initiate the authorisation process for on-site and off-site gateways.
* @param array $data returnUrl/cancelUrl + customer creditcard and billing/shipping details.
* @return ResponseInterface omnipay's response class, specific to the chosen gateway.
*/
public function authorize($data = array()) {
$data
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
//TODO
}
* Complete authorisation, after off-site external processing.
* This is ususally only called by PaymentGatewayController.
* @return PaymentResponse encapsulated response info
public function completeAuthorize() {
* Do the capture of money on authorised credit card. Money exchanges hands.
public function capture() {
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.