Post by blocks1 » Fri Mar 29, 2019 5:42 am

ok tried setting the currencies to a 4th decimal place, didnt do the job either infact things seem to not be going through at all now, just redirecting me back to the checkout page.. i switched from one page checkout to default opencart layout and got this error at the bottom..

Code: Select all

Error: Error: There was an error fetching the PayPal token at eval (eval at globalEval (https://mywebsite.com/catalog/view/theme/journal3/lib/jquery/jquery-2.1.1.min.js?v=3.0.28:2:2536), :14:21) at _loop (https://www.paypalobjects.com/api/checkout.js?v=3.0.28:5519:50) at ZalgoPromise.dispatch (https://www.paypalobjects.com/api/checkout.js?v=3.0.28:5543:57) at ZalgoPromise.resolve (https://www.paypalobjects.com/api/checkout.js?v=3.0.28:5479:22) at https://www.paypalobjects.com/api/checkout.js?v=3.0.28:5453:48 at XMLHttpRequest. (https://www.paypalobjects.com/api/checkout.js?v=3.0.28:16156:28) at Object._RECEIVE_MESSAGE_TYPE.(anonymous function) [as postrobot_message_response] (https://www.paypalobjects.com/api/checkout.js?v=3.0.28:4570:31) at receiveMessage (https://www.paypalobjects.com/api/checkout.js?v=3.0.28:4612:60) at messageListener (https://www.paypalobjects.com/api/checkout.js?v=3.0.28:4633:13)

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Fri Mar 29, 2019 5:51 am

Code: Select all

https://mywebsite.com/catalog/view/theme/journal3/lib/jquery/jquery-2.1.1.min.js?v=3.0.28:2:2536
Journal3. Not related with OC core.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by blocks1 » Fri Mar 29, 2019 5:57 am

will post back when they respond, better that you know and others that use journal... thanks
A

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by blocks1 » Fri Mar 29, 2019 5:19 pm

also had this is my error log

Code: Select all

2019-03-28 21:38:03 - PHP Notice:  Undefined variable: zone in /home4/mywebsite.com/catalog/controller/extension/payment/pp_express.php on line 1501
2019-03-28 21:38:03 - PayPal Express debug (): "Checkout: Either the store or PayPal cannot process the order with the selected country name: United Kingdom and zone name: Greater London from store name: My Website."
2019-03-28 21:38:03 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home4/mywebsite.com/catalog/controller/startup/error.php:34) in /home4/storage/modification/system/library/response.php on line 36

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Fri Mar 29, 2019 6:13 pm

Bug spotted. Thanks.

In catalog/controller/extension/payment/pp_express.php file, replace:

Code: Select all

$pp_express_zone = $this->model_extension_payment_pp_express->getPPExpressShipToStateByZoneCode($country_info['country_id'], $zone['code']);
with:

Code: Select all

$pp_express_zone = $this->model_extension_payment_pp_express->getPPExpressShipToStateByZoneCode($country_info['country_id'], $zone_info['code']);

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by blocks1 » Fri Mar 29, 2019 6:55 pm

got a few more errors,

Code: Select all

2019-03-29 10:38:13 - PHP Notice:  Undefined variable: data_shipping in /home4/mywebsite.com/catalog/controller/extension/payment/pp_express.php on line 1567
2019-03-29 10:38:13 - PHP Warning:  array_merge(): Argument #2 is not an array in /home4/mywebsite.com/catalog/controller/extension/payment/pp_express.php on line 1567
2019-03-29 10:38:13 - PHP Warning:  array_merge(): Argument #1 is not an array in /home4/mywebsite.com/catalog/controller/extension/payment/pp_express.php on line 1573
2019-03-29 10:38:13 - PayPal Express debug (Call data): null
2019-03-29 10:38:13 - PHP Warning:  array_merge(): Argument #1 is not an array in /home4/mywebsite.com/catalog/model/extension/payment/pp_express.php on line 277
2019-03-29 10:38:13 - PHP Warning:  http_build_query(): Parameter 1 expected to be Array or Object.  Incorrect value given in /home4/mywebsite.com/catalog/model/extension/payment/pp_express.php on line 277
2019-03-29 10:38:14 - PayPal Express debug (Result): "ACK=Failure&L_ERRORCODE0=81002&L_SHORTMESSAGE0=Unspecified%20Method&L_LONGMESSAGE0=Method%20Specified%20is%20not%20Supported&L_SEVERITYCODE0=Error"
2019-03-29 10:38:14 - PayPal Express debug (): "Unable to create Paypal session{\"ACK\":\"Failure\",\"L_ERRORCODE0\":\"81002\",\"L_SHORTMESSAGE0\":\"Unspecified Method\",\"L_LONGMESSAGE0\":\"Method Specified is not Supported\",\"L_SEVERITYCODE0\":\"Error\"}"
2019-03-29 10:38:14 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home4/mywebsite.com/catalog/controller/startup/error.php:34) in /home4/storage/modification/system/library/response.php on line 36

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Sat Mar 30, 2019 5:08 am

The ZIP file has now been replaced on the first post. So far, it seem the ship to state cannot be found on your database relatively with the selected country and zone from your store. I have added a validation for that as well in the update.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by blocks1 » Sat Mar 30, 2019 6:34 am

seems as though i am not getting anymore errors but i am being redirected back to the checkout page after trying to submit payment in the paypal popup window..

not sure if this is to do with journal or something, maybe someone else can let us know if it works for them..

i will keep testing
thanks for your dedication to this straightlight

A

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Sat Mar 30, 2019 6:40 am

blocks1 wrote:
Sat Mar 30, 2019 6:34 am
seems as though i am not getting anymore errors but i am being redirected back to the checkout page after trying to submit payment in the paypal popup window..

not sure if this is to do with journal or something, maybe someone else can let us know if it works for them..

i will keep testing
thanks for your dedication to this straightlight

A
See the PayPal error logs in your admin extension payment module page to see if a lead has been addressed regarding this redirection.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by blocks1 » Sat Mar 30, 2019 7:12 am

This was in the error log page

Code: Select all

2019-03-29 22:59:50 - PayPal Express debug (Call data): {"METHOD":"SetExpressCheckout","MAXAMT":115.43000000000000682121026329696178436279296875,"RETURNURL":"https:\/\/mywebsite.com\/index.php?route=extension\/payment\/pp_express\/expressReturn","CANCELURL":"http:\/\/mywebsite.com\/index.php?route=checkout\/cart","REQCONFIRMSHIPPING":0,"NOSHIPPING":2,"ALLOWNOTE":"0","LOCALECODE":"EN","LANDINGPAGE":"Login","HDRIMG":null,"PAYFLOWCOLOR":"","CHANNELTYPE":"Merchant","PAYMENTREQUEST_0_SHIPPINGAMT":"","PAYMENTREQUEST_0_CURRENCYCODE":"GBP","PAYMENTREQUEST_0_PAYMENTACTION":"Sale","L_PAYMENTREQUEST_0_NAME0":"ball Kit","L_PAYMENTREQUEST_0_NUMBER0":"MK9","L_PAYMENTREQUEST_0_AMT0":76.9500000000000028421709430404007434844970703125,"L_PAYMENTREQUEST_0_QTY0":1,"L_PAYMENTREQUEST_0_ITEMURL0":"http:\/\/mywebsite.com\/ball-kit","PAYMENTREQUEST_0_ITEMAMT":"76.95","PAYMENTREQUEST_0_AMT":"76.95"}
2019-03-29 22:59:51 - PayPal Express debug (Result): "TOKEN=EC%2d3GM686705H903042R&TIMESTAMP=2019%2d03%2d29T22%3a59%3a51Z&CORRELATIONID=a3bef65bc60&ACK=Success&VERSION=109%2e0&BUILD=000000"
2019-03-29 23:04:51 - PayPal Express debug (Call data): {"METHOD":"GetExpressCheckoutDetails","TOKEN":"EC-3GM686705H903042R"}
2019-03-29 23:04:52 - PayPal Express debug (Result): "TOKEN=EC%2d3GM686705H903042R&BILLINGAGREEMENTACCEPTEDSTATUS=0&CHECKOUTSTATUS=PaymentActionNotInitiated&TIMESTAMP=2019%2d03%2d29T23%3a04%3a52Z&CORRELATIONID=5bd881ef3aea0&ACK=Success&VERSION=109%2e0&BUILD=000000&EMAIL=andrew%2dfacilitator%40mcnultymail%2eco%2euk&PAYERID=3M56N5QE95TME&PAYERSTATUS=verified&BUSINESS=test%20facilitator%27s%20Test%20Store&FIRSTNAME=test&LASTNAME=facilitator&COUNTRYCODE=GB&SHIPTONAME=test%20facilitator&SHIPTOSTREET=WOLVERHAMPTON%20QUEENS%20SQ&SHIPTOCITY=LEICESTER&SHIPTOSTATE=LEICESTERSHIRE&SHIPTOZIP=LE87%202BB&SHIPTOCOUNTRYCODE=GB&SHIPTOCOUNTRYNAME=United%20Kingdom&ADDRESSSTATUS=Confirmed&CURRENCYCODE=GBP&AMT=76%2e95&ITEMAMT=76%2e95&SHIPPINGAMT=0%2e00&HANDLINGAMT=0%2e00&TAXAMT=0%2e00&INSURANCEAMT=0%2e00&SHIPDISCAMT=0%2e00&INSURANCEOPTIONOFFERED=false&L_NAME0=ball%20Kit&L_NUMBER0=%20MK9&L_QTY0=1&L_TAXAMT0=0%2e00&L_AMT0=76%2e95&PAYMENTREQUEST_0_CURRENCYCODE=GBP&PAYMENTREQUEST_0_AMT=76%2e95&PAYMENTREQUEST_0_ITEMAMT=76%2e95&PAYMENTREQUEST_0_SHIPPINGAMT=0%2e00&PAYMENTREQUEST_0_HANDLINGAMT=0%2e00&PAYMENTREQUEST_0_TAXAMT=0%2e00&PAYMENTREQUEST_0_INSURANCEAMT=0%2e00&PAYMENTREQUEST_0_SHIPDISCAMT=0%2e00&PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID=andrew%40mcnultymail%2eco%2euk&PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED=false&PAYMENTREQUEST_0_SHIPTONAME=test%20facilitator&PAYMENTREQUEST_0_SHIPTOSTREET=WOLVERHAMPTON%20QUEENS%20SQ&PAYMENTREQUEST_0_SHIPTOCITY=LEICESTER&PAYMENTREQUEST_0_SHIPTOSTATE=LEICESTERSHIRE&PAYMENTREQUEST_0_SHIPTOZIP=LE87%202BB&PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=GB&PAYMENTREQUEST_0_SHIPTOCOUNTRYNAME=United%20Kingdom&PAYMENTREQUEST_0_ADDRESSSTATUS=Confirmed&L_PAYMENTREQUEST_0_NAME0=ball%20Kit&L_PAYMENTREQUEST_0_NUMBER0=%20MK9&L_PAYMENTREQUEST_0_QTY0=1&L_PAYMENTREQUEST_0_TAXAMT0=0%2e00&L_PAYMENTREQUEST_0_AMT0=76%2e95&PAYMENTREQUESTINFO_0_ERRORCODE=0"

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Sat Mar 30, 2019 7:25 am

&ACK=Success
Ahh ! here we go, a success acknowledgement from PayPal's response. :)

As for the redirection, this shouldn't be there then since, according to the RETURNURL entry you posted above, it should be pointed from PayPal's when redirecting back … :ponder:

Let's try for the following in your catalog/controller/extension/payment/pp_express.php file.

Find, in the checkout() method;

Code: Select all

$this->model_extension_payment_pp_express->log('Unable to create Paypal session' . json_encode($result));
			}

			$this->session->data['paypal']['token'] = $result['TOKEN'];
			
			$this->response->redirect($this->url->link('checkout/checkout', '', true));
replace with:

Code: Select all

$this->model_extension_payment_pp_express->log('Unable to create Paypal session' . json_encode($result));
			} else {
				$this->session->data['paypal']['token'] = $result['TOKEN'];
			}

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by blocks1 » Sat Mar 30, 2019 6:00 pm

ok ran another three orders through with same issue being rediected back to the checkout page,

Code: Select all

2019-03-30 9:52:16 - PayPal Express debug (Call data): {"METHOD":"SetExpressCheckout","MAXAMT":142.3799999999999954525264911353588104248046875,"RETURNURL":"https:\/\/mywebsite.com\/index.php?route=extension\/payment\/pp_express\/expressReturn","CANCELURL":"http:\/\/mywebsite.com\/index.php?route=checkout\/cart","REQCONFIRMSHIPPING":0,"NOSHIPPING":2,"ALLOWNOTE":"0","LOCALECODE":"EN","LANDINGPAGE":"Login","HDRIMG":null,"PAYFLOWCOLOR":"","CHANNELTYPE":"Merchant","PAYMENTREQUEST_0_SHIPPINGAMT":"","PAYMENTREQUEST_0_CURRENCYCODE":"GBP","PAYMENTREQUEST_0_PAYMENTACTION":"Sale","L_PAYMENTREQUEST_0_NAME0":"Ball Kit","L_PAYMENTREQUEST_0_NUMBER0":"Lane MK9","L_PAYMENTREQUEST_0_AMT0":76.9500000000000028421709430404007434844970703125,"L_PAYMENTREQUEST_0_QTY0":1,"L_PAYMENTREQUEST_0_ITEMURL0":"http:\/\/mywebsite.com\/ball-kit","L_PAYMENTREQUEST_0_NAME1":"Ball Kit","L_PAYMENTREQUEST_0_NUMBER1":"PASK","L_PAYMENTREQUEST_0_AMT1":16.949999999999999289457264239899814128875732421875,"L_PAYMENTREQUEST_0_QTY1":1,"L_PAYMENTREQUEST_0_ITEMURL1":"http:\/\/mywebsite.com\/pressure-adjuster-screw-kit","L_PAYMENTREQUEST_0_NAME2":"Delrin Friction Ball Kit","L_PAYMENTREQUEST_0_NUMBER2":"DFBK","L_PAYMENTREQUEST_0_AMT2":1.020000000000000017763568394002504646778106689453125,"L_PAYMENTREQUEST_0_QTY2":1,"L_PAYMENTREQUEST_0_ITEMURL2":"http:\/\/mywebsite.com\/ball-kit","PAYMENTREQUEST_0_ITEMAMT":"94.92","PAYMENTREQUEST_0_AMT":"94.92"}
2019-03-30 9:52:17 - PayPal Express debug (Result): "TOKEN=EC%2d3V009835N43914355&TIMESTAMP=2019%2d03%2d30T09%3a52%3a17Z&CORRELATIONID=384e18b29b080&ACK=Success&VERSION=109%2e0&BUILD=000000"
2019-03-30 9:52:31 - PayPal Express debug (Call data): {"METHOD":"GetExpressCheckoutDetails","TOKEN":"EC-3V009835N43914355"}
2019-03-30 9:52:32 - PayPal Express debug (Result): "TOKEN=EC%2d3V009835N43914355&BILLINGAGREEMENTACCEPTEDSTATUS=0&CHECKOUTSTATUS=PaymentActionNotInitiated&TIMESTAMP=2019%2d03%2d30T09%3a52%3a32Z&CORRELATIONID=88366cdeccb5&ACK=Success&VERSION=109%2e0&BUILD=000000&EMAIL=andrew%2dfacilitator%40mcnultymail%2eco%2euk&PAYERID=3M56N5QE95TME&PAYERSTATUS=verified&BUSINESS=test%20facilitator%27s%20Test%20Store&FIRSTNAME=test&LASTNAME=facilitator&COUNTRYCODE=GB&SHIPTONAME=test%20facilitator&SHIPTOSTREET=WOLVERHAMPTON%20QUEENS%20SQ&SHIPTOCITY=LEICESTER&SHIPTOSTATE=LEICESTERSHIRE&SHIPTOZIP=LE87%202BB&SHIPTOCOUNTRYCODE=GB&SHIPTOCOUNTRYNAME=United%20Kingdom&ADDRESSSTATUS=Confirmed&CURRENCYCODE=GBP&AMT=94%2e92&ITEMAMT=94%2e92&SHIPPINGAMT=0%2e00&HANDLINGAMT=0%2e00&TAXAMT=0%2e00&INSURANCEAMT=0%2e00&SHIPDISCAMT=0%2e00&INSURANCEOPTIONOFFERED=false&L_NAME0=Ball%20Kit&L_NAME1=Ball%20Kit&L_NAME2=Ball%20Kit&L_NUMBER0=MK9&L_NUMBER1=PASK&L_NUMBER2=BK&L_QTY0=1&L_QTY1=1&L_QTY2=1&L_TAXAMT0=0%2e00&L_TAXAMT1=0%2e00&L_TAXAMT2=0%2e00&L_AMT0=76%2e95&L_AMT1=16%2e95&L_AMT2=1%2e02&PAYMENTREQUEST_0_CURRENCYCODE=GBP&PAYMENTREQUEST_0_AMT=94%2e92&PAYMENTREQUEST_0_ITEMAMT=94%2e92&PAYMENTREQUEST_0_SHIPPINGAMT=0%2e00&PAYMENTREQUEST_0_HANDLINGAMT=0%2e00&PAYMENTREQUEST_0_TAXAMT=0%2e00&PAYMENTREQUEST_0_INSURANCEAMT=0%2e00&PAYMENTREQUEST_0_SHIPDISCAMT=0%2e00&PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID=andrew%40mcnultymail%2eco%2euk&PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED=false&PAYMENTREQUEST_0_SHIPTONAME=test%20facilitator&PAYMENTREQUEST_0_SHIPTOSTREET=WOLVERHAMPTON%20QUEENS%20SQ&PAYMENTREQUEST_0_SHIPTOCITY=LEICESTER&PAYMENTREQUEST_0_SHIPTOSTATE=LEICESTERSHIRE&PAYMENTREQUEST_0_SHIPTOZIP=LE87%202BB&PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=GB&PAYMENTREQUEST_0_SHIPTOCOUNTRYNAME=United%20Kingdom&PAYMENTREQUEST_0_ADDRESSSTATUS=Confirmed&L_PAYMENTREQUEST_0_NAME0=Ball%20Kit&L_PAYMENTREQUEST_0_NAME1=Ball%20Kit&L_PAYMENTREQUEST_0_NAME2=Ball%20Kit&L_PAYMENTREQUEST_0_NUMBER0=MK9&L_PAYMENTREQUEST_0_NUMBER1=PASK&L_PAYMENTREQUEST_0_NUMBER2=DFBK&L_PAYMENTREQUEST_0_QTY0=1&L_PAYMENTREQUEST_0_QTY1=1&L_PAYMENTREQUEST_0_QTY2=1&L_PAYMENTREQUEST_0_TAXAMT0=0%2e00&L_PAYMENTREQUEST_0_TAXAMT1=0%2e00&L_PAYMENTREQUEST_0_TAXAMT2=0%2e00&L_PAYMENTREQUEST_0_AMT0=76%2e95&L_PAYMENTREQUEST_0_AMT1=16%2e95&L_PAYMENTREQUEST_0_AMT2=1%2e02&PAYMENTREQUESTINFO_0_ERRORCODE=0"

hope that sheds some light, i also noticed the product options for the order are not forwarded to paypal payment gui so the customer cannot see the specific details of the order itself.

regards
A

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Sat Mar 30, 2019 7:22 pm

Is the redirection to the checkout page with or without the modification I posted above? Also, did you verified the return URL setting in your PayPal merchant account ensuring it does return to the checkoutReturn method?

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Sat Mar 30, 2019 7:34 pm

And, in addition to know, are you using the IPN method with PayPal and entered the IPN URL in your PayPal merchant account text box? More information is needed.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Sat Mar 30, 2019 8:53 pm

Another issue found from the express debug log you posted above.
LEICESTERSHIRE
This ship to state setting is not listed on the PayPal's state and province list. Which is why, the action is being cancelled on your end since this ship to state code is not supported by PayPal.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by blocks1 » Sat Mar 30, 2019 9:12 pm

ok, my setup is a bit complicated, i have established your code is working fine, the issue is with regards to standard paypal extenstion and the paypal express checkout extensions working together / journal one page checkout system / confirm buttons..

this is the issue:
i have both enabled (continue to understand why)

upon checking out, the user cannot use paypal express unless paypal express has been selected in the payment methods radio button select list..
and the confirm button at the bottom of the page wont work unless paypal standard is selected from the same list.. so in the end i found out that by changing the sort order for both standard paypal and express paypal was the reason why i was getting redirected back to the cart page!


It seems that I am in a catch 22 as the confirm order button at the very bottom of the cart page wont load unless paypal standard is selected, and vise versa, paypal express wont perform unless it is selected AND the user uses the special express button supplied as a separate module.. so basically it is the one page journal checkout that is somewhat the issue here and the configuration of buttons / layout..

it makes for a difficult checkout procedure especially considering the customers i have are generally from the older generation who aren't as computer savvy.

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Sat Mar 30, 2019 9:30 pm

Thanks for the detailed report about Journal sort order issues with the checkout page as regarding the flexible patch released as of today (until the next PayPal change). However, also notice the additional replies on the above regarding the ship to state code that is not supported.

As for the products and product options, that is correct. Opencart sends only customer information to PayPal Express Checkout form but not the items. The selected items by the customer remains on the store originally. However, PayPal does allow items to be sent via this API although Opencart does not currently use it by default.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by blocks1 » Sun Mar 31, 2019 3:00 am

this isnt the scope of the thread but how difficult would it be to get both payment types (pp express and pp standard) enabled without having to check the radio button for paypal express?

i may be able to implement both payment types if this is easy to accomplish?

i will continue my google search in the mean time..

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Sun Mar 31, 2019 3:58 am

Even though you'd want to combine the standard and express checkout together as a module, PayPal APIs are separated. Which means, they provide a personal / business account but only one domain for all account types are allowed. If you want to provide the Standard version of PayPal, you use the standard extension payment module. If you want to provide the Express Checkout (and either one of both available by PayPal to be provided in your area), use the Express Checkout one.

As for doing the research, it's ok, I got it covered on this one: https://www.zen-cart.com/showthread.php ... -in-1-3-9h

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Wed Apr 03, 2019 4:58 am

A long time reported issue found and still on-going.

In catalog/controller/extension/payment/pp_express.php file,

find:

Code: Select all

'recurring_name'        => (isset($product['recurring']['recurring_name']) ? $product['recurring']['recurring_name'] : ''),
replace with:

Code: Select all

'recurring_name'        => (isset($product['recurring']['name']) ? $product['recurring']['name'] : ''),
This should resolved the issue with the recurring name with PayPal Express Checkout. Package will be updated shortly.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 5 guests