/** * Add the total price of all items in the order and update the payment contract * */ private function _addOrderAmountToOrderReference() { $response = $this->callStepAndCheckForException('addOrderAmountToOrderReference'); printSetOrderReferenceDetailsResponse($response); }
/** * Add information to the payment contract so that it can be confirmed * in a later step * Simulates a merchant adding the order details to the payment contract * */ private function _setupOrderReference() { $response = $this->callStepAndCheckForException('setupOrderReference'); printSetOrderReferenceDetailsResponse($response); }
/** * Add order information by making the call to setOrderReferenceDetails with * the total order amount, as well as notes describing the order information * * @param float $orderTotal total value of the order, incl shipping and tax * */ private function _addOrderTotalAndSellerInformationToOrder($orderTotal) { $response = $this->callStepAndCheckForException('addOrderTotalAndSellerInformationToOrder', array($orderTotal)); printSetOrderReferenceDetailsResponse($response); }