• Resolved bbender75

    (@bbender75)


    Unfortunately, the abandoned carts and other journeys stopped working in Mailchimp on all our sites. We did a test with a “free download” and that will trigger the journey.?? I did another test with all plugins off except anything to do with payment and shipping and it did not trigger my test journey in MailChimp. Then I set up a test product with a coupon so it had free shipping and free product, and that worked. Then I did one with free shipping and I had to PAY for the product, which did NOT work. so it has to be a payment-related issue. We use Bluesnap as our only?payment system can you figure out what about this is causing the issue??

Viewing 9 replies - 1 through 9 (of 9 total)
  • Christian

    (@christian1983)

    Hey @bbender75 ,

    Hope you are doing well!

    We are going to check this with the development team.

    Can you share with us the System Status report on “WooCommerce > Status” click on “Get system report”.

    Best,

    Christian

    Thread Starter bbender75

    (@bbender75)

    Thank you for the response. We have a few sites with the same issue, i just took it out of one. I saved the info to a file, would you rather me e-mail it somewhere?

    WordPress Environment.docx

    Thread Starter bbender75

    (@bbender75)

    PS. the journeys and other transactional triggered things work under different payment gateways

    Thread Starter bbender75

    (@bbender75)

    PSS -we also tested another e-mail; marketing platform and had the same issue.

    Christian

    (@christian1983)

    Hey @bbender75 ,

    Hope you are doing well!

    seems to be hard to reproduce the issue, can you contact BlueSnap Support from your merchant account explaining the problem and pointing to this thread? also we will ask you for a staging site so this will be faster to find the issue.

    Best,

    Christian

    Thread Starter bbender75

    (@bbender75)

    hello. We are working on setting up a staging site. Is there an e-mail or something that I can send that to? So it is not an open forum?

    We also reached out to BueSnap directly and they had us check/configure and complete the IPN setup. Which we did and the issue persists.

    Christian

    (@christian1983)

    Hey @bbender75 ,

    you can send credential to [email protected]

    Best,

    Christian

    Thread Starter bbender75

    (@bbender75)

    I sent an e-mail as well.

    After the suggestion to reach out to BlueSnap, they had us check/configure the IPNs setup. Which we did. Now payments go through and an error shows to the customer resulting in them submitting multiple orders.?We have been in contact with BlueSnap and they are not indicating an error on their end.

    We do not have this issue with other payment method tests. Please advise ASAP all our sites are down.?

    The staging site is being set up.

    Christian

    (@christian1983)

    Hey @bbender75

    Hope you are doing well!

    this is a snippet code that you need to add to your site so you can handle your orders with the “Processing” status instead of the “On hold” one.

    add_action(
    	'init',
    	function() {
    		if ( ! class_exists( 'WC_Bluesnap_Order_Handler' ) ) {
    			return;
    		}
    
    		$order_handler = WC_Bluesnap_Order_Handler::get_instance();
    
    		remove_action( 'woocommerce_order_status_on-hold_to_processing', array( $order_handler, 'capture_payment' ) );
    		remove_action( 'woocommerce_order_status_on-hold_to_completed', array( $order_handler, 'capture_payment' ) );
    		remove_action( 'woocommerce_order_status_on-hold_to_cancelled', array( $order_handler, 'cancel_payment' ) );
    		remove_action( 'woocommerce_order_status_on-hold_to_refunded', array( $order_handler, 'cancel_payment' ) );
    		
    		add_action( 'woocommerce_order_status_processing_to_completed', array( $order_handler, 'capture_payment' ) );
    		add_action( 'woocommerce_order_status_processing_to_cancelled', array( $order_handler, 'cancel_payment' ) );
    		add_action( 'woocommerce_order_status_processing_to_refunded', array( $order_handler, 'cancel_payment' ) );
    	}
    );
    
    function blackstone_bluesnap_update_order_processing( $order, $payment_method_data, $transaction ) {
        if (
            'AUTH_AND_CAPTURE' !== $transaction['cardTransactionType'] &&
            'no' === $order->get_meta( '_bluesnap_charge_captured', true ) &&
            'on-hold' === $order->get_status()
        ) {
            $order->update_status( 'processing', sprintf( __( 'Bluesnap charge authorized (Charge ID: %s). Process order to take payment, or cancel to remove the pre-authorization.', 'woocommerce-bluesnap-gateway' ), $transaction['transactionId'] ) );
        }
    }
    
    add_action( 'wc_gateway_bluesnap_new_card_payment_success', 'blackstone_bluesnap_update_order_processing', 10, 3 );
    add_action( 'wc_gateway_bluesnap_new_ach_payment_success', 'blackstone_bluesnap_update_order_processing', 10, 3 );
    add_action( 'wc_gateway_bluesnap_token_payment_success', 'blackstone_bluesnap_update_order_processing', 10, 3 );

    Please first test this snippet on your staging site before adding it to your live site.

    Best,

    Christian

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘e-mail marketing journeys’ is closed to new replies.