Home Forums WC Vendors Free Support PayPal IPN Issues

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8741
    Jordan
    Participant

    Since installing WC Vendors, every new order in my store is set the “Failed” status, even though PayPal.com shows that payment goes through successfully. I checked my IPN settings in WooCommerce as well as my PayPal settings and matched them both to their guide.

    I check my error log and found a bunch of paypal related messages:

    
    [15-Sep-2015 18:49:57 UTC] PPAPIService: Request: requestEnvelope.errorLanguage=en_US&actionType=CREATE&cancelUrl=https://{my domain}/cart/?cancel_order=true&order=wc_order_{hidden}&order_id={order ID}&redirect&_wpnonce={hidden}&currencyCode=USD&feesPayer=EACHRECEIVER&ipnNotificationUrl=http://{my domain}/?wc-api=WC_PayPalAP&paypal_chain_ipn=1&order_id={order ID}&receiverList.receiver(0).amount=255.3&receiverList.receiver(0).email={my paypal email}&receiverList.receiver(0).invoiceId={order ID}&reverseAllParallelPaymentsOnError=1&returnUrl=https://{my domain}/checkout/order-received/{order ID}?key=wc_order_{hidden}&order-received={order ID}
    
    [15-Sep-2015 18:49:58 UTC] PPHttpConnection: Adding header X-PAYPAL-SECURITY-USERID:  {my user id}
    
    [15-Sep-2015 18:49:58 UTC] PPHttpConnection: Adding header X-PAYPAL-SECURITY-PASSWORD: {my pw}
    
    [15-Sep-2015 18:49:58 UTC] PPHttpConnection: Adding header X-PAYPAL-SECURITY-SIGNATURE: {my sig}
    
    [15-Sep-2015 18:49:58 UTC] PPHttpConnection: Adding header X-PAYPAL-APPLICATION-ID: {my app id}
    
    [15-Sep-2015 18:49:58 UTC] PPHttpConnection: Adding header X-PAYPAL-REQUEST-DATA-FORMAT: NV
    
    [15-Sep-2015 18:49:58 UTC] PPHttpConnection: Adding header X-PAYPAL-RESPONSE-DATA-FORMAT: NV
    
    [15-Sep-2015 18:49:58 UTC] PPHttpConnection: Adding header X-PAYPAL-DEVICE-IPADDRESS: {my server IP}
    
    [15-Sep-2015 18:49:58 UTC] PPHttpConnection: Adding header X-PAYPAL-REQUEST-SOURCE: sdk-adaptivepayments-php_1.2.95
    
    [15-Sep-2015 18:49:58 UTC] PPHttpConnection: Invalid or no certificate authority found, retrying using bundled CA certs
    
    [15-Sep-2015 18:49:59 UTC] PPAPIService: Response: responseEnvelope.timestamp=2015-09-15T11%3A50%3A00.819-07%3A00&responseEnvelope.ack=Success&responseEnvelope.correlationId={hidden}&responseEnvelope.build=17820627
    
    [15-Sep-2015 18:49:59 UTC] Pay: Received SetPaymentOptionsResponse:
    
    [15-Sep-2015 18:50:38 UTC] PHP Notice:  Undefined index: status in {wp-content path}\plugins\wc-vendors\classes\gateways\PayPal_AdvPayments\paypal_ap.php on line 118
    [15-Sep-2015 18:50:38 UTC] PHP Notice:  Undefined index: status in {wp-content path}\plugins\wc-vendors\classes\gateways\PayPal_AdvPayments\paypal_ap.php on line 119
    

    So the final two errors reference paypal_ap.php which contains:

    
    public function paypal_ap_ipn()
    {
    {...}
    	if ( $_POST[ 'status' ] !== 'COMPLETED' ) {
    		$order->update_status( 'failed', sprintf( __( 'Something went wrong. Response from PayPal invalidated this order. Status: %s.', 'wcvendors' ), $_POST[ 'status' ] ) );
    		exit;
    	}
    {...}
    }
    

    Any advice?

    #8853
    Jordan
    Participant

    Bump – anything?

    #8855
    Jordan
    Participant

    Just to clarify, I used their documentation for my PayPal settings, not so much for my WooCommerce store’s settings. So things like the PayPal Notification URL, return URL, etc.

    I have a PayPal app going which supports Adaptive Payments and all those settings are correctly entered into the Adaptive Payments settings page you linked. I noticed my PayPal app had one or two checkboxes that were different from your guys’ documentation so I applied for a new application today. Fingers crossed that that will fix it but I wanted to if those PayPal errors made sense in case the errors are unrelated to my PayPal app.

    Thanks for the reply. Hopefully I can get this resolved soon so my partners won’t have a reason to complain anymore. 😛

    #9070
    Jordan
    Participant

    Update: I found the issue to be with my server’s use of SNI and have found a fix for this.

    See pull request here: https://github.com/wcvendors/wcvendors/pull/207

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.
This website uses cookies to ensure you get the best experience on our website.