Email receipt for payments through website

integapp
New Community Member

I have a Pay Now button on my website, and my clients use it to make payments for my appraisal service. How can I include an automatic email receipt upon receipt of their payment? If you need to see the page in order to see the code, it's https://integrityappraisals.com/paynow.htm

Login to Me Too
1 REPLY 1

Here-to-help
Contributor
Contributor

Hi @integapp ,
I think there's no direct feature like that.  Usually Paypal sends the email to buyer and seller when the order is placed via Paypal payment method. 

If you want to use a custom email to be sent out on sucessful payment. Here's how you can try. 
you can set up PayPal's Instant Payment Notification (IPN) or use PayPal Webhooks, if you have a more advanced setup.
Once the IPN/webhook enabled on your account, PayPal will send a notification to the IPN/webhook endpoint URL whenever a payment is made.  Once you get the message

  • Validate the message.
  • Check the payment status (it should be "Completed" for IPN, "PAYMENT.SALE.COMPLETED" for webhooks).
  • Send an email receipt to the customer using your server’s mail function or an email API.

refer to paypal documentation on IPN and webhook feature.

 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.