Файловый менеджер - Редактировать - /var/www/html/libraries/omnipay3/vendor/omnipay/securepay/src/Message/SecureXMLRefundRequest.php
Ðазад
<?php namespace Omnipay\SecurePay\Message; /** * SecurePay SecureXML Refund Request. * * Refund a partial or full amount from a prior purchase. * * The transactionReference (txnID) and transactionId (purchaseOrderNo) must * match the original transaction for a refund to be successful. */ class SecureXMLRefundRequest extends SecureXMLAbstractRequest { protected $txnType = 4; // Refund, as per Appendix A of documentation. protected $requiredFields = array('amount', 'transactionId', 'transactionReference'); public function getData() { $xml = $this->getBasePaymentXML(); $xml->Payment->TxnList->Txn->addChild('txnID', $this->getTransactionReference()); return $xml; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка