Function Reference: geodir_payment_notifications

Summary

This function has not been documented yet.

Filters

‘geodir_payment_notifications’ [Line: 1088]

Used by

geodir_payment_manager/geodir_payment_functions.php: geodir_payment_notifications() [Line: 1079]

Source Code

function geodir_payment_notifications($arr=array())
{

	$arr[] = array( 'name' => __( 'Payment Emails', 'geodir_payments' ), 'type' => 'no_tabs', 'desc' => '', 'id' => 'payment_emails' );
	
	$arr[] = array( 'name' => __( 'Client Emails', 'geodir_payments' ), 'type' => 'sectionstart', 'id' => 'payment_client_emails');
	
	$arr[] = array(  
		'name' => __( 'Payment success to client email', 'geodir_payments' ),
		'desc' 		=> '',
		'id' 		=> 'geodir_post_payment_success_client_email_subject',
		'type' 		=> 'text',
		'css' 		=> 'min-width:300px;',
		'std' 		=> __('Acknowledgment for your Payment', 'geodir_payments')
		);
	$arr[] = array(  
		'name' => '',
		'desc' 		=> '',
		'id' 		=> 'geodir_post_payment_success_client_email_content',
		'css' 		=> 'width:500px; height: 150px;',
		'type' 		=> 'textarea',
		'std' 		=>  __("

Dear [#client_name#],

Payment has been successfully received. Your details are below

[#transaction_details#]


We hope you enjoy. Thanks!

[#site_name#]

", 'geodir_payments') ); $arr[] = array( 'name' => __( 'Post renew success to client email', 'geodir_payments' ), 'desc' => '', 'id' => 'geodir_post_renew_success_email_subject', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => __('Renewal of listing ID:#[#post_id#]', 'geodir_payments') // Default value for the page title - changed in settings ); $arr[] = array( 'name' => '', 'desc' => '', 'id' => 'geodir_post_renew_success_email_content', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => __('

Dear [#client_name#],

Your listing [#listing_link#] has been renewed.

NOTE: If your listing is not active yet your payment may be being checked by an admin and it will be activated shortly.


[#site_name#]

', 'geodir_payments') ); $arr[] = array( 'name' => __( 'Listing expiration email', 'geodir_payments' ), 'desc' => '', 'id' => 'geodir_renew_email_subject', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => 'Place listing expiration Notification' // Default value for the page title - changed in settings ); $arr[] = array( 'name' => '', 'desc' => '', 'id' => 'geodir_renew_email_content', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => "

Dear [#client_name#],

Your listing - [#listing_link#] posted on [#posted_date#] for [#number_of_days#] days.

It's going to expiry after [#number_of_grace_days#] day(s). If the listing expire, it will no longer appear on the site.

If you want to renew, Please login to your member area of our site and renew it as soon as it expire.

You may like to login the site from [#login_url#].

Your login ID is [#username#] and Email ID is [#user_email#].

Thank you,
[#site_name_url#].

" ); $arr[] = array( 'name' => __( 'Post Upgrade Success to Client Email', 'geodir_payments' ), 'desc' => '', 'id' => 'geodir_post_upgrade_success_email_subject', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => __('Upgrade of listing ID:#[#post_id#]', 'geodir_payments') ); $arr[] = array( 'name' => '', 'desc' => '', 'id' => 'geodir_post_upgrade_success_email_content', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => __("

Dear [#client_name#],

Your listing [#listing_link#] has been upgraded.

NOTE: If your listing is not active yet your payment may be being checked by an admin and it will be activated shortly.


[#site_name#]

", 'geodir_payments') ); $arr[] = array( 'name' => __( 'Send invoice to client email', 'geodir_payments' ), 'desc' => '', 'id' => 'geodir_payment_invoice_email_subject', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => __('[#site_name#] - Invoice Details #[#invoice_id#]', 'geodir_payments') ); $arr[] = array( 'name' => '', 'desc' => '', 'id' => 'geodir_payment_invoice_email_body', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => __('

Dear [#client_name#],

Here is details for your invoice #[#invoice_id#] - [#invoice_title#] at [#site_name#].

Invoice Details:

Type: [#invoice_type#]

Date: [#invoice_date#]

Status: [#invoice_status#]

Payment Method: [#payment_method#]

Payable Amount: [#invoice_amount#]

[#invoice_discount_details#][#invoice_listing_details#][#invoice_package_details#][#invoice_transaction_details#]

---

Thank you for your contribution.

[#site_name#]

', 'geodir_payments') ); $arr[] = array( 'type' => 'sectionend', 'id' => 'payment_client_emails'); $arr[] = array( 'name' => __( 'Admin Emails', 'geodir_payments' ), 'type' => 'sectionstart', 'id' => 'payment_admin_emails'); $arr[] = array( 'name' => __( 'Payment success to admin email', 'geodir_payments' ), 'desc' => '', 'id' => 'geodir_post_payment_success_admin_email_subject', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => __('Payment received successfully', 'geodir_payments') ); $arr[] = array( 'name' => '', 'desc' => '', 'id' => 'geodir_post_payment_success_admin_email_content', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => __("

Dear Admin,

Payment has been received. Below are the transaction details.

[#transaction_details#]


[#site_name#]

", 'geodir_payments') ); $arr[] = array( 'name' => __( 'Post renewal success to admin email', 'geodir_payments' ), 'desc' => '', 'id' => 'geodir_post_renew_success_email_subject_admin', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => __('Renewal of listing ID:#[#post_id#]', 'geodir_payments') // Default value for the page title - changed in settings ); $arr[] = array( 'name' => '', 'desc' => '', 'id' => 'geodir_post_renew_success_email_content_admin', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => __('

Dear Admin,

Listing [#listing_link#] has been renewed. Please confirm payment and then update the listings published date to todays date.

NOTE: If payment was made by paypal the "published date" should be updated automatically.


[#site_name#]

', 'geodir_payments') ); $arr[] = array( 'name' => __( 'Post upgrade success to admin email', 'geodir_payments' ), 'desc' => '', 'id' => 'geodir_post_upgrade_success_email_subject_admin', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => __('Upgrade of listing ID:#[#post_id#]', 'geodir_payments') ); $arr[] = array( 'name' => '', 'desc' => '', 'id' => 'geodir_post_upgrade_success_email_content_admin', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => __("

Dear Admin,

Listing [#listing_link#] has been upgraded. Please confirm payment and then update the listings published date to todays date.

NOTE: If payment was made by paypal the \"published date\" should be updated automatically.


[#site_name#]

", 'geodir_payments') ); $arr[] = array( 'name' => __( 'Payment fail to admin email', 'geodir_payments' ), 'desc' => '', 'id' => 'geodir_post_payment_fail_admin_email_subject', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => __('IPN INVALID - Place Listing Submitted', 'geodir_payments') ); $arr[] = array( 'name' => '', 'desc' => '', 'id' => 'geodir_post_payment_fail_admin_email_content', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => __("

Dear Admin,

Paypal IPN Invalid for listing ID: #[#post_id#]

Please manually check your paypal logs, and if payment was received manually publish the listing.

[#listing_link#]


[#site_name#]

", 'geodir_payments') ); $arr[] = array( 'type' => 'sectionend', 'id' => 'payment_admin_emails'); $arr = apply_filters('geodir_payment_notifications' ,$arr ); return $arr; }