J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Re:Instant Paypal Pro.How to make zipcode show up on invoices? (1 viewing) 
Go to bottom
TOPIC: Re:Instant Paypal Pro.How to make zipcode show up on invoices?
#6442
Aaron
Fresh Boarder
Posts: 12
User Offline
[SOLVED]Instant Paypal Pro.How to make zipcode show up on invoices? Karma: 0  
Instant Paypal Pro question:

1. Love your product.

2. Only one small problem and it's probably some config setting I've neglected.

I'm having difficulty finding the setting that makes the customer zipcode appear on invoices. See below:


Customer details

Aaron Moody

This e-mail address is being protected from spam bots, you need JavaScript enabled to view it

521 Young Drive Sandston United States - VA VA <---- The state shows up twice. I need zipcode after state



Invoice n. 82 / 2017

Invoice details:

Any ideas?
 
Logged Logged  
  The administrator has disabled public write access.
#6443
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Instant Paypal Pro.How to make zipcode show up on invoices? Karma: 79  
Thank you to like it and thank you to report it.

It looks like a missing field in the invoice template.

To have it, open the file root/administrator/components/com_instantpaypal/framework/emails.php

and replace the line 390 with the following code:

Code:

$content = str_ireplace ( '{user_address}', $sale->user->bill_address . ' ' . $sale->user->bill_address2 . ' ' . $sale->user->bill_town . ' ' . $sale->user->bill_postcode . ' ' . $sale->user->bill_state, $content );
By the way i'm going to merge the new code in the regular package, best regards John
 
Logged Logged  
  The administrator has disabled public write access.
#6444
Aaron
Fresh Boarder
Posts: 12
User Offline
Re:Instant Paypal Pro.How to make zipcode show up on invoices? Karma: 0  
Thank you for such a fast reply.
 
Logged Logged  
  The administrator has disabled public write access.
#6445
Aaron
Fresh Boarder
Posts: 12
User Offline
Re:Instant Paypal Pro.How to make zipcode show up on invoices? Karma: 0  
Last question. Where and which file is the invoice template? I'm looking in components/com_instantpaypal/templates/default/views
 
Logged Logged  
  The administrator has disabled public write access.
#6446
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Instant Paypal Pro.How to make zipcode show up on invoices? Karma: 79  
It's the file root/administrator/components/com_instantpaypal/framework/emails.php
 
Logged Logged  
  The administrator has disabled public write access.
#6449
Aaron
Fresh Boarder
Posts: 12
User Offline
Re:Instant Paypal Pro.How to make zipcode show up on invoices? Karma: 0  
 
Logged Logged  
  The administrator has disabled public write access.
Go to top