When using PayPal Express as a payment - it doesn't send the Product Options in the Email Invoice or in the Admin Orders Section. Shipping method is used is FREE Shipping. Product Options used are radio buttons - mandatory field.
The Product Option title is displayed but the value is not sent across. Also the paypal express confirmation page is showing errors on the following page:
Page: index.php?route=payment/pp_express/expressConfirm
Errors displayed on the formatted page:
Notice: Undefined index: option_value in /catalog/controller/payment/pp_express.php on line 465
Notice: Undefined variable: shipping in /catalog/view/theme/default/template/payment/pp_express_confirm.tpl on line 33
Once Confirm Order is pressed on the above page the following error is displayed on the following page (no formatting, just error on this page):
Page: index.php?route=payment/pp_express/expressComplete
Error: Notice: Undefined index: option_value in /catalog/controller/payment/pp_express.php on line 953Warning: Cannot modify header information - headers already sent by (output started at /index.php:98) in /system/library/response.php on line 12
The Product Option title is displayed but the value is not sent across. Also the paypal express confirmation page is showing errors on the following page:
Page: index.php?route=payment/pp_express/expressConfirm
Errors displayed on the formatted page:
Notice: Undefined index: option_value in /catalog/controller/payment/pp_express.php on line 465
Notice: Undefined variable: shipping in /catalog/view/theme/default/template/payment/pp_express_confirm.tpl on line 33
Once Confirm Order is pressed on the above page the following error is displayed on the following page (no formatting, just error on this page):
Page: index.php?route=payment/pp_express/expressComplete
Error: Notice: Undefined index: option_value in /catalog/controller/payment/pp_express.php on line 953Warning: Cannot modify header information - headers already sent by (output started at /index.php:98) in /system/library/response.php on line 12
See attached image for missing options value
Attachments
image.jpg (161.58 KiB) Viewed 4866 times
Anyone have PayPal express (button) working with Product Options? - Does it list the product options on the email and order admin?
Thought it was time I looked at OC2. I've installed the demo data and configured my PayPal Express settings. After being returned from PayPal to confirm the order I get this error too.. NB: There are no options on my product.
I've enabled free shipping, and removed options for the product, but pretty much a vanilla install with the default demo data.
Watching this thread in case of developments.
Code: Select all
Notice: Undefined variable: shipping in
/home/sites/xxxxxxx/catalog/view/theme/default/template/payment/pp_express_confirm.tpl on line 33
Watching this thread in case of developments.
I´ve got the same Problem,
fresh install, fresh product, with or without option, same errors
normal paypal payment works, but no pp express
it doenst matter if new or returning customer
fresh install, fresh product, with or without option, same errors
normal paypal payment works, but no pp express
it doenst matter if new or returning customer
No one got a solution for this, getting same problem - all seems normal and works until checkout complete.
Email and admin order does not show colour option selected.
Errors :
PHP Notice: Undefined index: option_value in /public_html/catalog/controller/payment/pp_express.php on line 465
PHP Notice: Undefined variable: shipping in /public_html/catalog/view/theme/default/template/payment/pp_express_confirm.tpl on line 28
PHP Notice: Undefined index: option_value in /public_html/catalog/controller/payment/pp_express.php on line 953
Please help
Regards
Email and admin order does not show colour option selected.
Errors :
PHP Notice: Undefined index: option_value in /public_html/catalog/controller/payment/pp_express.php on line 465
PHP Notice: Undefined variable: shipping in /public_html/catalog/view/theme/default/template/payment/pp_express_confirm.tpl on line 28
PHP Notice: Undefined index: option_value in /public_html/catalog/controller/payment/pp_express.php on line 953
Please help
Regards
Never mind, fixed this - slight error in the Opencart code :
Open file : catalog/controller/payment/pp_express.php
Change Line 465 :
From : $value = $option['option_value'];
To : $value = $option['value'];
And change line 953 :
From : $value = $option['option_value'];
To : $value = $option['value'];
Please let me know if this works for you
Regards
Open file : catalog/controller/payment/pp_express.php
Change Line 465 :
From : $value = $option['option_value'];
To : $value = $option['value'];
And change line 953 :
From : $value = $option['option_value'];
To : $value = $option['value'];
Please let me know if this works for you
Regards
Thank you for the code sniplets,
after editing the lines, there is one error left for the variable $shipping in the default template
catalog/view/theme/*/template/payment/pp_express_confirm.tpl
replace $shipping with $has_shipping
i put the changes into an ocmod, just install the ocmod and ppepxress will work!
after editing the lines, there is one error left for the variable $shipping in the default template
catalog/view/theme/*/template/payment/pp_express_confirm.tpl
replace $shipping with $has_shipping
i put the changes into an ocmod, just install the ocmod and ppepxress will work!
Thanks! That fixed the error for me. Great work.TheRelativ wrote:Thank you for the code sniplets,
after editing the lines, there is one error left for the variable $shipping in the default template
catalog/view/theme/*/template/payment/pp_express_confirm.tpl
replace $shipping with $has_shipping
i put the changes into an ocmod, just install the ocmod and ppepxress will work!
Rob
The domo_fix_ppexpress_ocmod.xml file did not work for me (in fact, it seemed to drive the OC2 Extension Installer crazy, retrying and retrying, issuing one brief error message after another "DOMA uses same ID as ..." (whatever; too fast for me to read).
So I manually edited the files as suggested. I do wonder about line 955 in catalog/controler/payment/ppZexpress.php however--
$value = $this->encryption->decrypt($option['option_value']);
--because it also refers to ['option_value']
I'll see if this fix, which has worked for others, also works for me, when I receive my next order via PayPal Express checkout.
Thank you, everyone.
---
So I manually edited the files as suggested. I do wonder about line 955 in catalog/controler/payment/ppZexpress.php however--
$value = $this->encryption->decrypt($option['option_value']);
--because it also refers to ['option_value']
I'll see if this fix, which has worked for others, also works for me, when I receive my next order via PayPal Express checkout.
Thank you, everyone.
---
well, the "same id" error occours, if the mod is already installed
after the mod installation, u have to reload the mods to activate them.
but if this doesnt work, u can edit the lines by urself in the core files.
i´ve tested the ppexpress module by myself, i have 2 paypal accounts, private and business, so u can transfer between each other and u can send the money back.
But since a few weeks paypal doesnt refund 100% of the fee´s :-S
after the mod installation, u have to reload the mods to activate them.
but if this doesnt work, u can edit the lines by urself in the core files.
i´ve tested the ppexpress module by myself, i have 2 paypal accounts, private and business, so u can transfer between each other and u can send the money back.
But since a few weeks paypal doesnt refund 100% of the fee´s :-S
Who is online
Users browsing this forum: No registered users and 37 guests