Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @funsail,

    Thank you for using Direct Stripe.

    You can use the filter hooks :

    ‘direct_stripe_success_user_email_content’
    ‘direct_stripe_error_user_email_content’
    ‘direct_stripe_success_admin_email_content’
    ‘direct_stripe_success_user_email_content’

    Here are the variables you can retrieve :
    1.$token, 2.$amount, 3.$currency, 4.$email_address, 5.$description, 6.$user_id, 7.$button_id

    Best regards

    Thread Starter funsail

    (@funsail)

    So I need to do this in code, I can’t enter these into the plugin email fields?

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @funsail,

    I guess you need to retrieve per button information so that’s not possible in the general option right now.

    Best regards,

    Thread Starter funsail

    (@funsail)

    Yes, because the email needs to be useful telling what they bought and how much it’ll show on their credit card

    Thread Starter funsail

    (@funsail)

    I guess can I ask you to add in new version, in wp-admin/admin.php?page=direct_stripe&tab=emails

    If you can add variables to that field it would be great.

    Or it could be added in the stripe button shortcode. Either way is great.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Email fields’ is closed to new replies.