I am creating an email that is sent to customers from my website. This email is triggered when the customer clicks an "Ask for Price" button. The email is then sent to our sellers with the information about the customer and the product they are requesting.
On this email, we want to allow the seller the option to directly respond to the customer, but I would like to have this trigger a flag in my database to show that the seller replied to the customer.
There are a couple of ways you could approach this.
You could have them respond to the customer by clicking on a mailto link that fills in the to address and the bcc address that emails some key information picked up by a script on the server (e.g. customernumber_some_keys#yourscriptwatchedserver.com)
The email message going to the sellers could have a link to respond to the customer that goes to a landing page on your server with a form for their response, which in turn sends the message and adds information to the database
Related
I am using the hosted form payment approach to accepting payments from users on my site. I dont see any examples of how to go about verifying the payment once the user is redirected back to my site. Here is how I'm trying to approach it:
Generate a token/form based on the cart
Post to the form url and send the user away
User returns to a verifying page
I have set up a webhook for all payment notifications
I receive the notification
?????
Verify the payment status and price are correct
Navigate the user away from the verifying screen to the next page
In step 6 all i have is the token that was generated for the transaction and the webhook doesnt provide that token back to me. How do I say "this transaction belongs to this user who is waiting to be verified"?
You can use the getTransactionDetailsRequest in their Transaction Reporting API to get the transaction details. The best place to put this information is in the refTransId field which is a value you can pass in as part of your transaction.
I am using Stripe to handle my payments for my own rental website. (Backend - DJANGO)
Previously, I was using Stripe ChargesAPI and was manually sending out payouts to the Host of the property but I came to know that it can be automated by using Stripe PaymentIntentsAPI.
I have successfully managed to onboard my customers to receive payments in their bank accounts using Stripe Express.
After creating the payment intent and passing to the client I can charge their account as well as update my database for the booking.
The problem I am facing here is after the payment is done, I want to redirect the customer to the success page or payment failure page which I was able to do it by passing my reservation ID and updating it as payment received which I now do by using Webhooks.
How can redirect my customer to the success page showing the receipt of the booking?
You'll have to setup Payment Intent using a custom payment flow.
Briefly, how it works:
Capture your user's credit/debit card information and send a request to Stripe to authorize the card. If any additional verification checks are needed, Stripe provides you with an easy way to handle this
After authorization is complete, you capture the payment
If payment is successful, you show the user a success page, if not you show them an error message
Here's a link to the documentation: https://stripe.com/docs/payments/accept-a-payment?integration=elements
I am creating a website through which people can buy tickets via paypal – I want to send a confirmation email once the payment is complete.
I already set up auto return.
My problem is that it takes too long to redirect – I'm afraid that the users will click off the page before it is redirected and before the email is sent.
Is there a way to make the process faster, i.e allow me to send the email as soon as the payment is confirmed?
Can someone outline the main difference or differences between using the Send Email Campaign Message save action and the Send Email action? Why can't I use the Send Email action in place of the Send Email Campaign Message save action? I hope someone can help!
The main difference is that the Send Email action only sends an e-mail without additional campaigns or analytics interaction. You don't have engagement plans or statistics for your sent e-mail. It's nothing more than sending an HTML-based e-mail to the recipient.
Send Email action is basically sending email with System.Net.Mail.
Send Email Campaign Message utilizes Sitecore Email Experience Manager's dispatch pipeline to send emails that can be tracked.
When user buys voucher, they get the confirmation purchase email but the recipient don't get the email with the voucher code. I have to log in the Admin and click the send email button to send the voucher code manually to the recipient. So the mail protocol is working fine, it's just that the code doesn't seem to call the send function after purchase. How come?
I the admin panel system settings "Option" tab there is a setting which reads:
Complete Order Status:
Set the order status the customers order must reach before they are allowed to access their downloadable products and gift vouchers.
Make sure the customer's order is set to match this setting and the voucher should be sent. Otherwise, the voucher will be sent anytime the order matches the Complete Order Status setting.