I am having some issues trying to pass checkout cart line items to PayPal Express as part of the checkout process. I tried editing the merchant_paypal_base.php file as instructed in the post Expresso Store: List items on PayPal but couldn't get it to work so reverted back to the original php file.
Now, when I enter the Control Panel as administrator and navigate to Store > Settings > Payment Methods the screen refuses to load and instead offers this error message (URL redacted).
"Fatal error: Cannot redeclare class Merchant_paypal_base in /xxxx/system/expressionengine/third_party/store/ci-merchant/libraries/merchant/merchant_paypal_base.php on line 34"
I have tried logging out/in and clearing all caches but to no avail. I was kind of expecting the passing of PayPal item details to be included with Store, so am a little disappointed that it requires some hacking around to pass this information across and it's a little beyond me. Any help much appreciated to either fix the error or get the item information to pass across to PayPal successfully.
Thanks in advance.