Hi Team
I am using FormBuilder with Stripe. I wanted to save my form entries in the DB and also want to fire a mail with the form data.
The issue is when the payment is successful the number of entries are incremented by 1(currently there are 49 and they keep incrementing if payment is successful) but when I click on entries it shows No entries to display like in below image.
I have enabled the option to save entries to database and send email to administrator.
Administrator email is also added as well.
No email is firing as well. I have used this hook as well but still no luck
$wire->addHookAfter('FormBuilderProcessorStripe::chargeSuccess', function($e) {
$entry = $e->arguments(0); // array of data for submitted form entry
$email = 'xxx@gmail.com'; // you had a field named 'email' with email addr
$secretCode = '123abcdef';
wireMail()
->to($email)
->subject("Your order")
->body("Thank you for your order, your secret code is: $secretCode")
->send();
});
Any suggestions on both the issues?