File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1111abstract class AbstractRequest extends CommonAbstractRequest
1212{
1313 /**
14- * Recommended custom field name to send the transaction ID to the notify handler.
14+ * Custom field name to send the transaction ID to the notify handler.
1515 */
1616 const TRANSACTION_ID_PARAM = 'omnipay_transaction_id ' ;
1717
Original file line number Diff line number Diff line change 99 */
1010class SIMCompleteAuthorizeRequest extends AbstractRequest
1111{
12+ /**
13+ * Get the transaction ID passed in through the custom field.
14+ * This is used to look up the transaction in storage.
15+ */
16+ public function getTransactionId ()
17+ {
18+ return $ this ->httpRequest ->request ->get (static ::TRANSACTION_ID_PARAM );
19+ }
20+
1221 public function getData ()
1322 {
1423 // The hash sent in the callback from the Authorize.Net gateway.
You can’t perform that action at this time.
0 commit comments