Jump to content


Welcome to the forum:

Welcome to the iThemes, PluginBuddy and WebDesign.com forum. We've created several tutorial video's to help you get you started with using the forum, please check them out!

Also take note of the forum guidelines.


Support hours:

Our moderators actively respond to forum support requests during normal business hours which are Monday-Friday, 8am - 5pm Central Standard Time, typically within one business day. Although some moderators choose to work during the weekends, we can not guarantee immediate attention to your requests. Thanks for understanding.

What is included with support:

Premium support includes theme/plugin issues such as: bugs encountered under normal operation, how to use basic features, basic WordPress help, and basic help with customization (meaning we point you to resources and will help in more depth as time allows). More information.

Support during Holidays:

During the Holidays (Dec. 22 - Jan. 2) our support staff will spend well-deserved time with their families and loved ones.

We can not guarantee the same level of support that you are used to.

Moderators will check in on the support forum, but response times may be longer than expected.


Your iThemes support team wishes you happy holidays!

information

Billing Address

donations billing province Stripe

2 replies to this topic

#1 newmediamotion

newmediamotion

    New Member

  • Members
  • Others: All Plugins
  • 5 posts

Posted 12 May 2014 - 11:30 AM

Hello,

I am using Exchange to accept donations for a Canadian non-profit.

1. I found how to modify the "Buy Now" button to "Donate Now" (http://ithemes.com/forum/topic/58441-create-an-update-safe-change-to-buy-now-button/) but I would also like to change "State" to "Prov./State" and "Zip Code" to "Postal/Zip Code". Using that code I can filter all three but only one at a time. Is there a way to filter them all?

2. For tax receipting purposes is there a way to download all customer payments with their billing address as a CSV? I can download this from Stripe, but Exchange does not pass the billing address or name. Is it possible to pass the billing address and customer name to Stripe?

Thanks,

Garth

#2 Elise Alley

Elise Alley

    iThemes Support

  • Administrators
  • Others: All Plugins, All Themes, Members, Moderators, Toolkit, Webdesign
  • 5,959 posts
  • LocationOklahoma City, OK

Posted 12 May 2014 - 01:28 PM

Hi Garth,

You can have all three filtered in the same block of code:

function my_translated_text_strings( $translated_text, $untranslated_text, $domain ) {
$translated_text = $untranslated_text;
if ( 'LION' === $domain || 'it-l10n-ithemes-exchange' === $domain ) {
switch ( $untranslated_text ) {
case 'Buy Now' :
$translated_text = 'Donate Now';
break;
}
switch ( $untranslated_text ) {
case'State' :
$translated_text = 'Prov/State';
break;
}
switch ( $untranslated_text ) {
case 'Zip Code' :
$translated_text = 'Postal/Zip Code';
break;
} 
}
return $translated_text;
}
add_filter( 'gettext', 'my_translated_text_strings', 10, 3 );
add_filter( 'ngettext', 'my_translated_text_strings', 10, 3 );

They each have to be in their own switch case, but you don't have to do the rest of the code multiple times.

There isn't a way in Exchange at this time to export customer information like billing address.  You can use the WordPress Export tool, though.

If you go into Tools > Export, you'll see a "Choose what to export" option.  One of those options should be "Payments."  That will allow you to download an XML file that will include the customer information, the payment, billing address, etc.  

Let us know if you have any additional questions.  


Thanks,

Elise

#3 newmediamotion

newmediamotion

    New Member

  • Members
  • Others: All Plugins
  • 5 posts

Posted 12 May 2014 - 01:47 PM

Hello Elise,

Thanks, that worked great!

Garth



Reply to this Topic


ATTENTION
If this topic is marked RESOLVED or INFORMATION, or if you are NOT experiencing EXACTLY the same issue, please start a new topic to provide the details of your problem. If the solution provided doesn't work for you, you should start a new topic. If you feel this thread contains relevant information, you may include a link to it in your new topic. To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. When posting your question or request on the forum, please be as concise and specific as possible. The shorter and more to the point you can make your request, the better.

For BackupBuddy related issues, be sure to include the status log from your most recent backup.

CLICK HERE to start a new topic in the Exchange ecommerce plugin forum.


  



Also tagged with one or more of these keywords: information, donations, billing, province, Stripe

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users