Jump to content
Claudia M

Stripe in emails

Recommended Posts

Hi,

I use Stripe and PayPal as my shipping gateways.  In admin/manage extensions/Stripe I have credit card typed in for description.  Problem is in my emails to the customers it is showing Stripe as the payment gateway.  Any way I can change this to just Credit Card?

Thanks in advance for any and all help

Claudia

Share this post


Link to post
Share on other sites

Since CubeCart records the payment gateway that was used (you mentioned 'shipping') as the module's folder name (Print_Order_Form, Card_Capture, Authorize, etc), one would need to write a snippet to add the module's Description setting - which could also be a file path to an image - to the collection of data given to the email templates.

One could also write this in Smarty code in the email template: {$DATA.gateway|replace:'Stripe':'Credit Card'}

 

Edited by bsmither

Share this post


Link to post
Share on other sites

Can I use that snippet in the Print Receipt too?

Also on a email related issue.  Currently emails show just a line total.  Is there any way to show each product price in case the buyer purchases more than one of an item?  In this photos I'd like the item price (for one) in parentheses next to the product code. Picture is not a good example but say they bought 2 for $10. each.  The cost would show $20.00 but doesn't show individual cost.    Thanks!!!!

628956057_Capture-emailprice.PNG.fe3cdc465e06c853d55b16115212145f.PNG

 

Share this post


Link to post
Share on other sites

Yes.

I see this as a simple math problem. But otherwise, try using {$product.item_price}

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...