Work with woocommerce Subscriptions
-
Hi there,
Also I have a question regards functionality:
1. while forming CURL query I have the following error
Notice: Undefined variable: card_expiry in /var/www/therapytribe.loc/src/wp-content/plugins/paypal-for-woocommerce/classes/wc-gateway-paypal-pro-payflow-angelleye.php on line 7712. Will you pls clarify why do you add length values to the keys upon forming query line as upon transmitting arrays?
3. Upon query with valid PayPal Cred (tested on forming clean request) I am getting error in server response (Sandbox mode)
“5-Invalid merchant information”.Info from log
01-27-2016 @ 14:03:27 – PayFlow Endpoint: https://pilot-payflowpro.paypal.com
01-27-2016 @ 14:03:27 – Array
(
[RESULT] => 5
[PNREF] => B10P8E461B77
[RESPMSG] => Invalid merchant information
[HOSTCODE] => 10501
[TRANSTIME] => 2016-01-27 06:03:25
[FIRSTNAME] => developer
[LASTNAME] => developer
[AMT] => 20.00
[ACCT] => 4288
[EXPDATE] => 0720
[CARDTYPE] => 0
[DUPLICATE] => 1
[RAWREQUEST] => BUTTONSOURCE[24]=AngellEYE_SP_WooCommerce&VERBOSITY[4]=HIGH&USER[9]=*****&VENDOR[9]=*****&PARTNER[6]=PayPal&PWD[10]=*****&TENDER[1]=C&TRXTYPE[1]=S&ACCT[16]=4032039078384288&EXPDATE[4]=0720&AMT[5]=20.00&CURRENCY[3]=USD&CVV2[3]=123&ORDERID[4]=8943&ORDERDESC[26]=Order 8943 on TherapyTribe&BILLTOEMAIL[14][email protected]&BILLTOFIRSTNAME[9]=developer&BILLTOLASTNAME[9]=developer&BILLTOSTREET[13]=developer st &BILLTOCITY[14]=developer land&BILLTOSTATE[2]=AP&BILLTOZIP[5]=50500&BILLTOCOUNTRY[2]=UA&CUSTIP[9]=127.0.0.1&INVNUM[4]=8943&SHIPTOFIRSTNAME[9]=developer&SHIPTOLASTNAME[9]=developer&SHIPTOSTREET[13]=developer st &SHIPTOCITY[14]=developer land&SHIPTOSTATE[2]=AP&SHIPTOCOUNTRY[2]=UA&SHIPTOZIP[5]=50500&ITEMAMT[5]=20.00&L_NUMBER0[15]=monthly-listing&L_NAME0[15]=Monthly Listing&L_COST0[2]=20&L_QTY0[1]=1&L_SKU0[15]=monthly-listing
[RAWRESPONSE] => RESULT=5&PNREF=B10P8E461B77&RESPMSG=Invalid merchant information&HOSTCODE=10501&TRANSTIME=2016-01-27 06:03:25&FIRSTNAME=developer&LASTNAME=developer&AMT=20.00&ACCT=4288&EXPDATE=0720&CARDTYPE=0&DUPLICATE=1
)for valid query I am using the following line and headers
USER=&VENDOR=&PARTNER=PayPal&PWD=&ACTION=A&PROFILENAME=Developer+Developer&TRXTYPE=R&TENDER=C&FIRSTNAME=Developer&LASTNAME=Developer&ACCTTYPE=VISA&ACCT=4032039078384288&EXPDATE=072020&CVV2=123&ZIP=12312&AMT=100&CURRENCY=USD&START=02272016&TERM=0&PAYPERIOD=MONT&MAXFAILPAYMENTS=2&EMAIL=developtestdevelop-buyer%40gmail.com&RETRYNUMDAYS=3
Connect: close;Content-Length: 336;Content-Type: text/namevalue;Host: https://pilot-payflowpro.paypal.com;X-VPS-CLIENT-TIMEOUT: 45;X-VPS-REQUEST-ID: 112312;X-VPS-VIT-CLIENT-CERTIFICATION-ID: a98f4a6187ga4a98q34nsdais657jy;X-VPS-VIT-INTEGRATION-PRODUCT: eDirectory;X-VPS-VIT-INTEGRATION-VERSION: 6.4;X-VPS-VIT-OS-NAME: Linux
- The topic ‘Work with woocommerce Subscriptions’ is closed to new replies.