Okay
  Public Ticket #3670151
Stripe customer creation
Closed

Comments

  •  1
    Lakeshia started the conversation

    Hi, 

    We use the strip integration for your plugin..  The issue we are having is when we want bill a customer through stripe for additional items that original came from our website via Amelia  no account was created just a payment. Is there a way to send the customer information and  create an account. 

    thanks, 

    Keekee

  •  1,545
    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