J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
[SOLVED]Instant Paypal Pro.How to make zipcode show up on invoices? (1 viewing) 
Go to bottom
TOPIC: [SOLVED]Instant Paypal Pro.How to make zipcode show up on invoices?
#6442
Aaron Moody
Fresh Boarder
Posts: 12
User Offline
[SOLVED]Instant Paypal Pro.How to make zipcode show up on invoices? 2 Years, 6 Months ago 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  
 
Last Edit: 2017/01/20 22:00 By @store$eco#mm!.
  The topic has been closed.
#6443
John Dagelmore
Admin
Posts: 3504
User Online Now
Re:Instant Paypal Pro.How to make zipcode show up on invoices? 2 Years, 6 Months ago Karma: 75  
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  
 
Last Edit: 2017/01/20 15:12 By @store$eco#mm!.
  The topic has been closed.
#6444
Aaron Moody
Fresh Boarder
Posts: 12
User Offline
Re:Instant Paypal Pro.How to make zipcode show up on invoices? 2 Years, 6 Months ago Karma: 0  
Thank you for such a fast reply.
 
Logged Logged  
  The topic has been closed.
#6445
Aaron Moody
Fresh Boarder
Posts: 12
User Offline
Re:Instant Paypal Pro.How to make zipcode show up on invoices? 2 Years, 6 Months ago 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 topic has been closed.
#6446
John Dagelmore
Admin
Posts: 3504
User Online Now
Re:Instant Paypal Pro.How to make zipcode show up on invoices? 2 Years, 6 Months ago Karma: 75  
It's the file root/administrator/components/com_instantpaypal/framework/emails.php
 
Logged Logged  
  The topic has been closed.
#6449
Aaron Moody
Fresh Boarder
Posts: 12
User Offline
Re:Instant Paypal Pro.How to make zipcode show up on invoices? 2 Years, 6 Months ago Karma: 0  
 
Logged Logged  
  The topic has been closed.
Go to top