Jump to content


information

Billing Address

donations billing province Stripe

2 replies to this topic

#1 newmediamotion

newmediamotion

    New Member

  • Members
  • Others: Toolkit
  • 3 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,440 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: Toolkit
  • 3 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