Okay
  Public Ticket #3628654
Stripe Information
Closed

Comments

  • Braudy Pedrosa started the conversation

    Hi, we are trying to send the email and name of the customer to Stripe as their respective fields and not via description. 

    We found a resource that we needed to add metadata to the stripe settings in Amelia but that doesn't work for us.

    I attached the settings we have on the site for Amelia.

    Attached files:  e2224736-2c21-4250-bf11-fa6b9cae9fb4.png

  •  1,564
    Marko replied

    Hello there,

    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. 

    Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.

    We wish you all the best and hope you have a wonderful day ahead. 


    Kind Regards, 

    Marko Davidovic
    [email protected]

    Rate my support

    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