Okay
  Public Ticket #3509348
Question
Closed

Comments

  • Jeremy Hanke started the conversation

    Hello, I am currently Using Amelia to schedule and book events. Through events I take payment through Stripe. 

    I have double checked the Meta data that is being sent to Stripe but Stripe classified's the payment as Guest Customer and is not categorizing there name email or phone number and in doing so is not sending a receipt of the transaction to my client. 


    Ultimately, I need my client to receive a receipt is there something I can do on the Amelia end to achieve this? 

  •  1,574
    Uroš replied

    Hello Jeremy,

    Thank you for reaching out to us.

    We will try to explain and help you as best we can. In Amelia, in MetaData only a description of the transaction are sent.

    Stripe has its own "Customers" section, which is not updated, even if we enter the MetaData "customer: %customer_email%", customer information cannot be transferred at the moment, only the description of the transaction is possible for now.

    But we will try to help you with the workaround. You can try going into ../wp-content/plugins/ameliabooking/src/Infrastructure/Services/Payment/StripeService.php

    if (isset($data['metaData']['email'])) {
        $stripeData['receipt_email'] = $data['metaData']['email'];
    }
    

    Like this:

    2124754175.png

    I don't know if it's going to work, though, if there isn't already a customer with this email registered in Stripe. But we hope this will help you. 

    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables