File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 1111use Illuminate \Support \Facades \Facade ;
1212
1313/**
14+ * @method static \Omnipay\VtcPay\Message\PurchaseRequest purchase(array $options = [])
15+ * @method static \Omnipay\VtcPay\Message\CompletePurchaseRequest completePurchase(array $options = [])
16+ *
1417 * @author Vuong Minh <vuongxuongminh@gmail.com>
1518 * @since 1.0.0
1619 */
@@ -21,6 +24,20 @@ class Gateway extends Facade
2124 */
2225 protected static function getFacadeAccessor ()
2326 {
24- return static ::$ app ['omnipay ' ]->gateway ('vtcpay ' );
27+ return static ::$ app ['omnipay ' ]->gateway ('VTCPay ' );
28+ }
29+
30+ /**
31+ * Create a request to accept notification.
32+ *
33+ * This is an alias of [[acceptNotification()]] for sync with style standard of another gateway.
34+ *
35+ * @param array $options
36+ *
37+ * @return \Omnipay\VtcPay\Message\AcceptNotificationRequest
38+ */
39+ public function notification (array $ options = [])
40+ {
41+ return static ::getFacadeAccessor ()->acceptNotification ($ options );
2542 }
2643}
You can’t perform that action at this time.
0 commit comments