Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-02T21:31:22-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16617 2012-01-02T21:31:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16617&p=59472#p59472 <![CDATA[Re: Adding Chapter info to PayPal receipt]]> Hi Dana. Thanks for the follow-up.
You too! I'm looking forward to a great 2012.

I would suggest using the Product Description field for this. You can update the value of the description dynamically, during the checkout process; updating it with the Chapter field value in your Pro Form.

Create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
( these are MUST USE plugins, see: http://codex.wordpress.org/Must_Use_Plugins )
Replace "my_chapter_field_id", with the Unique ID you've given your Chapter field w/ s2Member.
Code:
<?php
add_filter
("ws_plugin__s2member_pro_paypal_checkout_post_attr", "s2_pro_custom_paypal_description_attr");
function s2_pro_custom_paypal_description_attr($attr = array(), $vars = array())
    {
        $custom_fields = $vars["post_vars"]["custom_fields"];
        /**/
        $attr["desc"] = $attr["desc"]." (Chapter: ".(string)$custom_fields["my_chapter_field_id"].")";
        /**/
        return $attr;
    }
?>
s2-hacks.zip

Statistics: Posted by Jason Caldwell — January 2nd, 2012, 9:31 pm


]]>
2011-12-31T11:27:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16617&p=59347#p59347 <![CDATA[Re: Adding Chapter info to PayPal receipt]]>
I want the drop-down Chapter selected to be sent on receipt from PayPal and logged on PayPal record for accounting verification needs. So when I log into PayPal after someone paid, I'll be able to see what chapter they are paying for. Does that make sense?

I hope you are enjoying the holidays & Happy New Year!!!

Statistics: Posted by dskallman — December 31st, 2011, 11:27 am


]]>
2011-12-31T08:32:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16617&p=59339#p59339 <![CDATA[Re: Adding Chapter info to PayPal receipt]]> Hi Dana, hope you're having a great New Year's eve!

Sent to PayPal...
Can you explain just a bit further for me please?
Where exactly do you need the information to appear @PayPal?

Statistics: Posted by Jason Caldwell — December 31st, 2011, 8:32 am


]]>
2011-12-30T14:30:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16617&p=59243#p59243 <![CDATA[Adding Chapter info to PayPal receipt]]>
I have a quick question about adding information from s2Member form to appear on PayPal history and receipt. I want to use this form: http://mnjaycees.org/create-profile/ and the dropdown half way down where they say Chapter, I want that info sent to PayPal as well. Is it possible, if so how?

Thanks!

Dana

Statistics: Posted by dskallman — December 30th, 2011, 2:30 pm


]]>