natinho68
Forum Replies Created
-
Forum: Plugins
In reply to: [WPeMatico RSS Feed Fetcher] Featured imageI try this but it does not work on my website.
Forum: Plugins
In reply to: [PayPal IPN for WordPress] Notification Paypal every monthsThe hook is paypal_ipn_for_wordpress_txn_type_subscr_signup ?
Forum: Plugins
In reply to: [PayPal IPN for WordPress] Notification Paypal every monthsYes that is what I want to do, thanks !
Forum: Plugins
In reply to: [PayPal IPN for WordPress] Notification Paypal every monthsHi,
I’m using the standard suscription.
By notification, I mean email notification with this function ://Paypal IPN mail add_action('paypal_ipn_for_wordpress_payment_status_completed', 'paypal_ipn_for_wordpress_payment_status_completed', 10, 1); function paypal_ipn_for_wordpress_payment_status_completed($posted) { // Parse data from IPN $posted array $payment_status = isset($posted['payment_status']) ? $posted['payment_status'] : ''; $mc_gross = isset($posted['mc_gross']) ? $posted['mc_gross'] : ''; $first_name = isset($posted['first_name']) ? $posted['first_name'] : ''; $last_name = isset($posted['last_name']) ? $posted['last_name'] : ''; $item_name = isset($posted['item_name']) ? $posted['item_name'] : ''; $payer_email = isset($posted['payer_email']) ? $posted['payer_email'] : ''; /** * At this point you can use the data to generate email notifications, * update your local database, hit 3rd party web services, or anything * else you might want to automate based on this type of IPN. */ $to = array( '[email protected]', '[email protected]' ); $subject = 'Notification Paypal pour '. $first_name . ' ' . $last_name . ''; $message = 'Prix: ' . $mc_gross . "\n"; $message .= 'Statut de paiement: ' . $payment_status . "\n"; $message .= 'Prénom et nom: ' . $first_name . ' ' . $last_name . "\n"; $message .= 'Email: ' . $payer_email . "\n"; $message .= 'Cotisation: ' . print_r($item_name, true); wp_mail( $to, $subject, $message ); }
For example, this customer have payed his first cotisation the 14th October.
I had an email notification.
The 14th November, I had the same email notification. 1 month later.
I just want the “suscription” notification, if it’s called like that… 1 email when customer pay his first cotisation.
But the transaction_type field is already called “subscr_payment” for both of payments… So I don’t know what to do.Screenshot : https://hpics.li/ff21655
Am I clear ?
Forum: Plugins
In reply to: [Contact Form 7] sending mail after payment paypal contact form 7Hi, no sorry I don’t have any solutions.
I’ve doing it by sending 2 different mail.
1 for the user information, and another one like a paypal notification, with Paypal IPN.
But I see that you have a premium plugin for this feature on contact form 7.
Paypal integration for contact form 7.
I think it can be easily to buy it instead of program something.Forum: Plugins
In reply to: [Contact Form 7] sending mail after payment paypal contact form 7Please any ideas ? ?
Thank you very much it works