TOPIC:

stripe for breezeforms 2 weeks 5 days ago #243368

  • Topic Author
  • hav7979
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 71
  • Thanks: 4
I would like to email a receipt to the person paying after the stripe payment goes through. Stripe says it has to be done from the api.

how do I set this up in my form?

here is the info from Stripe:

Automatically send receipts when payments are successful
Checkout Payment Intents API
When creating a PaymentIntent, include your customer’s email address as a value for the receipt_email parameter. Receipts are only sent when a successful payment has been made—no receipt is sent if the payment fails or is declined.

curl Ruby Python PHP Java Node Go .NET
curl api.stripe.com/v1/payment_intents \
-u sk_test_4eC39HqLyjWDarjtT1zdp7dc: \
-d amount=1099 \
-d currency=usd \
-d "payment_method_types[]"=card \
-d receipt_email="jenny.rosen@example.com"
The value of the description parameter provided in the request is displayed in the receipt, along with the amount, and your public business information. Receipts for one-time payments include only this information—additional line items cannot be added.

To trigger an automatic receipt after the payment is complete, update the PaymentIntent’s receipt_email.

thanks for your great help

Please Log in or Create an account to join the conversation.

stripe for breezeforms 2 weeks 5 days ago #243370

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 9255
  • Karma: 167
  • Thanks: 744
Hi,

BreezingForms includes a Stripe payment button already.
Did you try it out?

Just add it in the end of your your form as last element.

Then configure it.

Then in the element's advanced tab, head to "ActionScript" at the bottom and from the library choose "ff_validate_submit" (so the Stripe button acts as submit button).

Then in the main form settings disable "include submit button" (such that the Stripe button will be the only submit button).

Regards,
Markus

Please Log in or Create an account to join the conversation.

stripe for breezeforms 2 weeks 5 days ago #243385

  • Topic Author
  • hav7979
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 71
  • Thanks: 4
Yea I am using the stripe module and it is working. I am trying to get an email receipt sent to the customer and I dont see how to add the mail -d receipt address in the form

Larry

Please Log in or Create an account to join the conversation.

Last edit: Post by hav7979. Reason: Typos

stripe for breezeforms 2 weeks 5 days ago #243386

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 9255
  • Karma: 167
  • Thanks: 744
Did you add the name (not title) of the email field's setup advanced tab?

The code in BF passes it to the configuration according to Stripe's documentation and should make Stripe send a recipe to that email.

Attachments:

Please Log in or Create an account to join the conversation.

stripe for breezeforms 2 weeks 5 days ago #243394

  • Topic Author
  • hav7979
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 71
  • Thanks: 4
I am having issues logging in to my site right now. I will check it and let you know as soon as I can.

Please Log in or Create an account to join the conversation.

stripe for breezeforms 2 weeks 3 days ago #243512

  • Topic Author
  • hav7979
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 71
  • Thanks: 4
here is print out of my form. do I need quotes around MF_Email or is what I have OK
Attachments:

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.134 seconds

Summer Sale!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!