| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Paypal on Invoices | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
I am trying to show the Payment Methods "Paypal" or "Credit Card" to show up on our invoices. However, it is only showing "Credit Card" even though it is a "paypal" order. This is the code inside the order_invoice.tpl that I need to change. <strong>{$lng.lbl_payment_method}:</strong><br /> {$order.payment_method}<br /> Any idea what $order.payment_method should be changed too? Steve
__________________
Steve J Racicot X-Cart Consultant Version 4 and 5 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() {$order.payment_method} should work properly.
For debug purposes, you can try to call var_dump($order); in the admin/order.php script (somewhere close to the end of file) in order to see the whole picture of what $order contains. |
|||||||||
#3
|
|||||||
|
|||||||
![]() What is happening is that if the customer chooses the Paypal option during checkout then it is processed as a "paypal" order. However, (using Payflow Link as a processor) if the customer chooses credit card as a payment option and they hit the submit button, the Iframe "pops up" with Credit Card and Paypal Payment Options. If they choose paypal as the payment option at this point in the checkout process, "Credit Card" is the Payment method even though it really is not.
__________________
Steve J Racicot X-Cart Consultant Version 4 and 5 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Since only a few payment systems notify X-Cart what is the actual payment method for an order, X-Cart uses the payment name configured in the back end. So, if a customer chooses "Credit card" method during checkout, "Credit card" will go into the invoice and receipt even if the payment system allows selecting a different one on their website.
What you can do is try to rename the method to something like "Credit card / PayPal". However, I would like to let you know that payment method names you see in recent X-Cart versions were recommended by the PayPal team (we verified our integration with them).
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|