Title: r-c's Replies | WordPress.org

---

# r-c

  [  ](https://wordpress.org/support/users/rlmc/)

 *   [Profile](https://wordpress.org/support/users/rlmc/)
 *   [Topics Started](https://wordpress.org/support/users/rlmc/topics/)
 *   [Replies Created](https://wordpress.org/support/users/rlmc/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/rlmc/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/rlmc/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/rlmc/engagements/)
 *   [Favorites](https://wordpress.org/support/users/rlmc/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] GTranslate-Translation-Proxy bot](https://wordpress.org/support/topic/gtranslate-translation-proxy-bot/)
 *  Thread Starter [r-c](https://wordpress.org/support/users/rlmc/)
 * (@rlmc)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/gtranslate-translation-proxy-bot/#post-15692733)
 * Ok thanks good to know. However, my server logs don’t show me the headers you
   mentioned so I don’t know what is triggering those visits.
 * I have noticed some ad crawlers like admantx crawling my original website with
   bad capitalization … so could they have then discovered the other language versions
   and started crawling them incorrectly too?
    Just wondering if that technically
   sounds possible?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Add customer email to pending cancellation of subscription](https://wordpress.org/support/topic/add-customer-email-to-pending-cancellation-of-subscription/)
 *  Thread Starter [r-c](https://wordpress.org/support/users/rlmc/)
 * (@rlmc)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/add-customer-email-to-pending-cancellation-of-subscription/#post-14966456)
 * UPDATE: Got it to work this way:
 *     ```
       add_filter( 'woocommerce_subscription_status_pending-cancel', function ( $subscription ) {
       	$customer_email = $subscription->get_billing_email();
       	$wc_emails = WC()->mailer()->get_emails();
       	$wc_emails['WCS_Email_Cancelled_Subscription']->recipient .= ',' . $customer_email;
       	$wc_emails['WCS_Email_Cancelled_Subscription']->trigger( $subscription );
       	return $subscription;
       } );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooPayments: Integrated WooCommerce Payments] Credit card fields intermittently disappear from checkout page](https://wordpress.org/support/topic/credit-card-fields-intermittently-disappear-from-checkout-page/)
 *  [r-c](https://wordpress.org/support/users/rlmc/)
 * (@rlmc)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/credit-card-fields-intermittently-disappear-from-checkout-page/#post-14958072)
 * Don’t know if this will help others, but I had this same problem with credit 
   card field not appearing for signed in users. It came down to one line in my 
   child theme functions.php file:
 * wp_deregister_script(‘wp-embed’);
 * Once I commented out that line, credit card field appeared for everyone, both
   signed in and signed out users.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] window.wp is undefined (and therefor window.wp.apiFetch fails) on signed in user](https://wordpress.org/support/topic/window-wp-is-undefined-and-therefor-window-wp-apifetch-fails-on-signed-in-user/)
 *  Thread Starter [r-c](https://wordpress.org/support/users/rlmc/)
 * (@rlmc)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/window-wp-is-undefined-and-therefor-window-wp-apifetch-fails-on-signed-in-user/#post-14951885)
 * Hi, just completed going through the WooCommerce Subscriptions help chat, and
   slowly, by process of elimination, I determined that one line in my child theme
   functions.php was triggering the error and causing the credit card form not to
   appear for signed in users (but still appear for signed out users):
 * wp_deregister_script(‘wp-embed’);
 * Once I commented out that line, the credit card form appeared for all users.
 * Hope this helps somebody else!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooPayments: Integrated WooCommerce Payments] Credit card fields intermittently disappear from checkout page](https://wordpress.org/support/topic/credit-card-fields-intermittently-disappear-from-checkout-page/)
 *  [r-c](https://wordpress.org/support/users/rlmc/)
 * (@rlmc)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/credit-card-fields-intermittently-disappear-from-checkout-page/#post-14951456)
 * I am having a similar issue on v 3.1.0:
 * On my /checkout page, when a user is NOT signed in, they get a “Credit card /
   debit card” section and all works correctly.
 * However, for signed in users on my site (e.g. signed in as role “subscriber”),
   if they go to /checkout then NO credit card section appears at all…instead there
   is just an empty section that says “WooCommerce Payments” and no ability to enter
   a credit card.
    When I look in the chrome console, I see: upe_checkout.js?ver
   =3.1.0:1 Uncaught TypeError: Cannot read properties of undefined (reading ‘apiFetch’)
 * The error is being triggered by upe_checkout.js
 * If I type window.wp.apiFetch into the chrome console, I get the same error.
 * So I guess the question is why window.wp not defined for signed in users?
    (or
   more generally, why does the credit card input form not appear for signed in 
   users?)
 * Thanks for any help!
    -  This reply was modified 4 years, 10 months ago by [r-c](https://wordpress.org/support/users/rlmc/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Help: Immediately block the IP of users who try to sign in as these usernames](https://wordpress.org/support/topic/help-immediately-block-the-ip-of-users-who-try-to-sign-in-as-these-usernames/)
 *  Thread Starter [r-c](https://wordpress.org/support/users/rlmc/)
 * (@rlmc)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/help-immediately-block-the-ip-of-users-who-try-to-sign-in-as-these-usernames/#post-14027359)
 * Ok, I have sent the diagnostics report. (I wasn’t quite clear on what you meant
   by “They should block you but also your own IP address should be showing as AWS
   unless you are using a VM on an AWS server. That could be an issue with how IP
   Detection is set up.”)
 * Can you let me know how to respond back to you privately after you have reviewed
   the report as I don’t want to share my email address and website here please.
 * Thank you for your help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Webhooks - Automate repetitive tasks by creating powerful automation workflows directly within WordPress] Need to update_user](https://wordpress.org/support/topic/need-to-update_user/)
 *  Thread Starter [r-c](https://wordpress.org/support/users/rlmc/)
 * (@rlmc)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/need-to-update_user/#post-13966809)
 * Perfect. Got the pro version and trying out integration with integromat. So far
   so good.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Webhooks - Automate repetitive tasks by creating powerful automation workflows directly within WordPress] Need to update_user](https://wordpress.org/support/topic/need-to-update_user/)
 *  Thread Starter [r-c](https://wordpress.org/support/users/rlmc/)
 * (@rlmc)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/need-to-update_user/#post-13961794)
 * Awesome, seems like some good options!
 * Related question though related to using PayPal into the WP Webhook:
 * In Paypal IPN, I have a custom field when I am receiving a txn.type == subscr_payment
   message that is called option_selection2
 * On a cancellation or expiration message type, that same field is called option_selection1
 * I am getting some information that maybe this field is not available in PayPal
   WebHooks? That would really be a bummer is it is a required field for my app —
   it’s the field that contains the user’s Google email address that needs to be
   used as the email address when creating the wordpress user.
 * Any knowledge on this one? 🙂

Viewing 8 replies - 1 through 8 (of 8 total)