I have 2 payments methods: PayPal and Bank transfer. User can select one of them using a radio field.
An event switcher manages the choice. In bank transfer event I've placed 2 emails (for admin and for user), also, in the paypal IPN success I've placed 2 emails (user, admin) and I've placed the PayPal redirect in the paypal event.
Testing in sendbox mode, PayPal process seems work fine, but no email are sent out, meanwhile if I choose bank transfer, the relative emails are sent out.
Is it due to PayPal sendox testing mode or something else misconfigured?
Thanks in advance.
An event switcher manages the choice. In bank transfer event I've placed 2 emails (for admin and for user), also, in the paypal IPN success I've placed 2 emails (user, admin) and I've placed the PayPal redirect in the paypal event.
Testing in sendbox mode, PayPal process seems work fine, but no email are sent out, meanwhile if I choose bank transfer, the relative emails are sent out.
Is it due to PayPal sendox testing mode or something else misconfigured?
Thanks in advance.
Hi crealiagroup,
I think that the PayPal Redirect does just that so ChronoForms loses control at that point. You can put the emails before the redirect action, or save the data then and use a separate action to capture the return info from PayPal, read the saved data and send the emails then.
Bob
I think that the PayPal Redirect does just that so ChronoForms loses control at that point. You can put the emails before the redirect action, or save the data then and use a separate action to capture the return info from PayPal, read the saved data and send the emails then.
Bob
Not sure if you read my post before or after I've edited.
Anyway the emails are placed in the PayPal IPN success box. So I would expect that also in sandbox mode they are fired when payment is success. I've setted as Receiver email in PayPal IPN the real business email.
Any idea?
Anyway the emails are placed in the PayPal IPN success box. So I would expect that also in sandbox mode they are fired when payment is success. I've setted as Receiver email in PayPal IPN the real business email.
Any idea?
We have added custom code like below, in IPN tab, because in paypal we getting payment status "completed" when payment is done and credit in bank account but in ipn section we can not see completed status bar so we added custom code. we tested with pending status and we getting mail, meanwhile testing with payment mode live or sandbox it doesn't send email if payment is completed.
Any idea how to solve it?
Why emails on success are not sent out?
<?php
if(trim($this->data('payment_status')) == 'Completed'){
$this->data['payment_status']= Success;
}
?>
Any idea how to solve it?
Why emails on success are not sent out?
You need to login to be able to post a reply.