Title: odeal4ik's Replies | WordPress.org

---

# odeal4ik

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Direct Stripe] How to send billing name to admin after succes transaction](https://wordpress.org/support/topic/how-to-send-billing-name-to-admin-after-succes-transaction/)
 *  Thread Starter [odeal4ik](https://wordpress.org/support/users/odeal4ik/)
 * (@odeal4ik)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/how-to-send-billing-name-to-admin-after-succes-transaction/#post-11668398)
 * Thank you, visa converts my money)
    For test i didn’t knowed about minimal currency.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Direct Stripe] How to send billing name to admin after succes transaction](https://wordpress.org/support/topic/how-to-send-billing-name-to-admin-after-succes-transaction/)
 *  Thread Starter [odeal4ik](https://wordpress.org/support/users/odeal4ik/)
 * (@odeal4ik)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/how-to-send-billing-name-to-admin-after-succes-transaction/#post-11668328)
 * Ok, problem solved.
 * For me it’s small problem but $user_id contains id of user and Stripe customer
   ID in format cus_…. in array.
 * $user_info = get_user_by(’email’, $email_address) works fo me;
    I have all access.
 * Thanks for plugin.
 * Can you answer about currencies?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Direct Stripe] How to send billing name to admin after succes transaction](https://wordpress.org/support/topic/how-to-send-billing-name-to-admin-after-succes-transaction/)
 *  Thread Starter [odeal4ik](https://wordpress.org/support/users/odeal4ik/)
 * (@odeal4ik)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/how-to-send-billing-name-to-admin-after-succes-transaction/#post-11668232)
 * And 1 comment.
    Any there any possibility to add currency? For example for russian
   rubles or ukrainian hrivnas?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Direct Stripe] How to send billing name to admin after succes transaction](https://wordpress.org/support/topic/how-to-send-billing-name-to-admin-after-succes-transaction/)
 *  Thread Starter [odeal4ik](https://wordpress.org/support/users/odeal4ik/)
 * (@odeal4ik)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/how-to-send-billing-name-to-admin-after-succes-transaction/#post-11668227)
 * Hello, thanks for an answer. Bad news, i’he tried, but it still not workin and
   in email it’s an empty field.
    Even after trying var_dump, print_r etc.
 * And $user_info, $user_id is always – 1.
 * Maybe this hook works not in his time?
 *     ```
       add_filter( 'direct_stripe_success_admin_email_content', function( $token, $amount, $currency, $email_address, $description, $user_id, $button_id, $message){
           $today = date("j, n, Y");
   
           $user_info = get_user_by('id', $user_id );
           $user_email = $user_info->user_email;
   
           $message = '<h1>TEXT - somesite.ru</h1><br/>' .
               "http://{$_SERVER['HTTP_HOST']}<br/>" .
               'TEXT - ' . $email_address . '<br/>' .
               'TEXT- ' . number_format( $amount/100, 2) .' &nbsp; '. $currency . '<br/>' .
               'TEXT - '. $description . '<br/>' .
               'TEXT - ' . $today . '<br/>' .
               'TEXT - ' . print_r($user_info) . '<br/>';
   
           $message .= 'Пользователь - ' . $user_email . '<br/>';
   
           return $message;
   
       }, 10, 8 );
       ```
   
 * And when i try to get user in other frontend point, it works correctly and returm
   to me all field i want. But i need to sent them right after payment.
    -  This reply was modified 6 years, 10 months ago by [odeal4ik](https://wordpress.org/support/users/odeal4ik/).
    -  This reply was modified 6 years, 10 months ago by [odeal4ik](https://wordpress.org/support/users/odeal4ik/).
    -  This reply was modified 6 years, 10 months ago by [odeal4ik](https://wordpress.org/support/users/odeal4ik/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Direct Stripe] How to hide the “processing” after user submits payment.](https://wordpress.org/support/topic/how-to-hide-the-processing-after-user-submits-payment/)
 *  [odeal4ik](https://wordpress.org/support/users/odeal4ik/)
 * (@odeal4ik)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/how-to-hide-the-processing-after-user-submits-payment/#post-11664937)
 * [@bmartin3211](https://wordpress.org/support/users/bmartin3211/) try in admin
   disable “button styles”
 * .loadingDS-container
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Direct Stripe] How to hide the “processing” after user submits payment.](https://wordpress.org/support/topic/how-to-hide-the-processing-after-user-submits-payment/)
 *  [odeal4ik](https://wordpress.org/support/users/odeal4ik/)
 * (@odeal4ik)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/how-to-hide-the-processing-after-user-submits-payment/#post-11664925)
 * Try to add style display – none to id of your spinner)

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