Using the built in module with OC v2.3.0.2 and receive payments correctly and capture works in order history as needed. However I cannot find any information that shows the payment method, ie Paypal, Credit Card - is this information stored in another table or is there another addon to add this informaiton. Our customers like the payment method on the receipt we pack in the box. Other modules store this information in order_history - which would be fine.
Any thoughts?
thanks,
Steve
https://developer.paypal.com/docs/class ... the-server
These are the payment methods available in Payflow. However, if you lookup for TENDER key in Opencart, you'll find it is hardcoded to C (Credit Card), so I guess all payments are made through CC forcefully.TENDER (Required) The method of payment. Values are:
- A = Automated clearinghouse (ACH)
- C = Credit card
- D = Pinless debit
- K = Telecheck
- P = PayPal
Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com
I found a spot to include a message to customer indicating failure (better than showing nothing):
from the file
/catalog/controller/extension/payment/pp_payflow_iframe.php
public function paymentError() {
echo 'Credit Card Data Error - Please Confirm Billing Address and CVV Data';
$data['url'] = $this->url->link('checkout/checkout');
$this->response->setOutput($this->load->view('extension/payment/pp_payflow_iframe_return', $data));
}
If there is a better way to send this error message to the opencart message handler after the setOutput function is called, would make for a much nicer output, or any other suggestions appreciated
from the file
/catalog/controller/extension/payment/pp_payflow_iframe.php
public function paymentError() {
echo 'Credit Card Data Error - Please Confirm Billing Address and CVV Data';
$data['url'] = $this->url->link('checkout/checkout');
$this->response->setOutput($this->load->view('extension/payment/pp_payflow_iframe_return', $data));
}
If there is a better way to send this error message to the opencart message handler after the setOutput function is called, would make for a much nicer output, or any other suggestions appreciated
Who is online
Users browsing this forum: No registered users and 56 guests