Passing parameters of woocommerce subscription to payment gateway
-
I’m currently integrating an API payment gateway to my current project. I’m kinda new to API integration. Managed to pass the information just using static info. How do I fetch the data like name, email from woocommerce. I’m using woocommerce subscription plugin https://woocommerce.com/products/woocommerce-subscriptions/
$paydollar_args = array( 'orderRef' => $orderRef, 'amount' => $order -> order_total, 'merchantId' => $this -> merchant_id, 'payMethod' => $this -> pay_method, 'payType' => $this -> pay_type, 'currCode' => $this -> curr_code, 'lang' => $this -> language, 'successUrl' => $success_url, 'failUrl' => $fail_url, 'cancelUrl' => $cancel_url, 'secureHash' => $secureHash, 'remark' => $remarks, 'appId' => 'SP', 'schType' => 'Month', 'nSch' => 1, 'sMonth' => 7, 'sDay' => 8, 'sYear' => 2016, 'eMonth' => '', 'eDay' => '', 'eYear' => '', 'name' => 'Genil Montilde', 'email' => '[email protected]', 'schStatus' => 'Active', 'remark' => 'Testing Only', 'SchPayAmt' => $order -> order_total );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Passing parameters of woocommerce subscription to payment gateway’ is closed to new replies.