stabal Posted February 7 Share Posted February 7 (edited) Hi, i'm about to make the connection to Paypal in PPC plugin. I have a business profil already on Paypal. After it connects, PPC (or Paypal?) still asking some further info about the company. Fine. However to this question i don't find the right answer format: What is the business registration number of the business? You will find this in the memorandum of association. I have this number but always getting back an error as it is not fine. So my question is what format or how many numbers/letters should be there to be fine. Thanks a lot in advance for every relevat answer. Edited February 7 by stabal Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 8 Share Posted February 8 This might answer your question: https://www.paypal-community.com/t5/Adding-and-updating-info/company-number-business-registration-number/td-p/288302 (I am not familiar with PayPal, at all.) Quote Link to comment Share on other sites More sharing options...
Russell Hurst Posted February 22 Share Posted February 22 Hello Al, This topic started with the choice of payment gateway priority and you mentioned: Quote I don't see why we can't add a setting for this to be default or not from the extension settings page to be honest. Will you be adding this feature to the extension? I too would prefer to have the choice. For me fee wise PayPal is similar to Opayo/Sagepay. Quote Link to comment Share on other sites More sharing options...
keat Posted February 23 Share Posted February 23 Does PP Commerce still have the ability to override the customers address details. Al has suggested switching to commerce, but i'm nervous in the respcet that previous incarnations got us in to no end of trouble numerous times. Using his personal paypal account, buyer makes a purchase for work, PayPal over rides the delivery address. We send a pallet of goods to the wrong address. Goods inviraiable come back to us 2 days later, where we have to re-arrange shipment. Customer is not best pleased, as a next day delivery has just taken a week. Quote Link to comment Share on other sites More sharing options...
Martin Lines Posted April 6 Share Posted April 6 (edited) I have tried to use this plugin to no avail. In the admin backend, in the extensions section, clicking on Paypal Commerce to configure it simply gives a browser error of "redirected too many times" [Wed Apr 06 16:52:43.531290 2022] [php7:warn] [pid 18937] [client 82.163.190.249:60111] PHP Warning: Invalid argument supplied for foreach() in /var/www/www.bigjimny.com/public_html/store/modules/plugins/paypal_commerce/admin/index.inc.php on line 188, referer: http://www.bigjimny.com/store/admin_yj0SXd.php?_g=plugins [Wed Apr 06 16:52:44.365731 2022] [php7:warn] [pid 17608] [client 82.163.190.249:60113] PHP Warning: Invalid argument supplied for foreach() in /var/www/www.bigjimny.com/public_html/store/modules/plugins/paypal_commerce/admin/index.inc.php on line 188, referer: http://www.bigjimny.com/store/admin_yj0SXd.php?_g=plugins [Wed Apr 06 16:52:45.198098 2022] [php7:warn] [pid 17607] [client 82.163.190.249:60115] PHP Warning: Invalid argument supplied for foreach() in /var/www/www.bigjimny.com/public_html/store/modules/plugins/paypal_commerce/admin/index.inc.php on line 188, referer: http://www.bigjimny.com/store/admin_yj0SXd.php?_g=plugins Edited April 6 by Martin Lines Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 6 Share Posted April 6 Line 188 wants to iterate through a collection of $webhooks. That collection comes from a request being made to PayPal for a list of available webhooks. That request should be logged in CubeCart's admin, Request Log. Please examine the Request Log, find the appropriate logged Request/Response entries, and determine if the Response indicates what could be wrong. Quote Link to comment Share on other sites More sharing options...
Martin Lines Posted April 7 Share Posted April 7 (edited) Here is a grab of the Request Log oday, 09:12 Request Sent (cURL) - https://api.paypal.com/v1/notifications/webhooks{ "url": "http://www.bigjimny.com/store/index.php?_g=rm&type=plugins&cmd=call&module=paypal_commerce", "event_types": [ { "name": "PAYMENT.CAPTURE.COMPLETED" }, { "name": "PAYMENT.CAPTURE.REVERSED" }, { "name": "PAYMENT.CAPTURE.REFUNDED" }, { "name": "PAYMENT.AUTHORIZATION.VOIDED" }, { "name": "PAYMENT.CAPTURE.DENIED" }, { "name": "CHECKOUT.ORDER.APPROVED" }, { "name": "CHECKOUT.ORDER.COMPLETED" }, { "name": "PAYMENT.CAPTURE.PENDING" }, { "name": "PAYMENT.AUTHORIZATION.CREATED" } ] } Error:cURL Error (22): The requested URL returned error: 400 Bad Request Response received (400 - Bad Request) Today, 09:12 Request Sent (cURL) - https://api.paypal.com/v1/notifications/webhooks/ Error:cURL Error (22): The requested URL returned error: 405 Method Not Allowed Response received (405 - Method Not Allowed) Today, 09:12 Request Sent (cURL) - https://api.paypal.com/v1/notifications/webhooks Response received (200 - OK){"webhooks":[]} Today, 09:12 Request Sent (cURL) - https://api.paypal.com/v1/notifications/webhooks{ "url": "http://www.bigjimny.com/store/index.php?_g=rm&type=plugins&cmd=call&module=paypal_commerce", "event_types": [ { "name": "PAYMENT.CAPTURE.COMPLETED" }, { "name": "PAYMENT.CAPTURE.REVERSED" }, { "name": "PAYMENT.CAPTURE.REFUNDED" }, { "name": "PAYMENT.AUTHORIZATION.VOIDED" }, { "name": "PAYMENT.CAPTURE.DENIED" }, { "name": "CHECKOUT.ORDER.APPROVED" }, { "name": "CHECKOUT.ORDER.COMPLETED" }, { "name": "PAYMENT.CAPTURE.PENDING" }, { "name": "PAYMENT.AUTHORIZATION.CREATED" } ] } Error:cURL Error (22): The requested URL returned error: 400 Bad Request Response received (400 - Bad Request) Today, 09:12 Request Sent (cURL) - https://api.paypal.com/v1/notifications/webhooks/ Error:cURL Error (22): The requested URL returned error: 405 Method Not Allowed Response received (405 - Method Not Allowed) Today, 09:12 Request Sent (cURL) - https://api.paypal.com/v1/notifications/webhooks Response received (200 - OK){"webhooks":[]} Today, 09:12 Request Sent (cURL) - https://api.paypal.com/v1/notifications/webhooks Response received (200 - OK){"webhooks":[]} Today, 09:12 Request Sent (cURL) - https://api.paypal.com/v1/notifications/webhooks{ "url": "http://www.bigjimny.com/store/index.php?_g=rm&type=plugins&cmd=call&module=paypal_commerce", "event_types": [ { "name": "PAYMENT.CAPTURE.COMPLETED" }, { "name": "PAYMENT.CAPTURE.REVERSED" }, { "name": "PAYMENT.CAPTURE.REFUNDED" }, { "name": "PAYMENT.AUTHORIZATION.VOIDED" }, { "name": "PAYMENT.CAPTURE.DENIED" }, { "name": "CHECKOUT.ORDER.APPROVED" }, { "name": "CHECKOUT.ORDER.COMPLETED" }, { "name": "PAYMENT.CAPTURE.PENDING" }, { "name": "PAYMENT.AUTHORIZATION.CREATED" } ] } Error:cURL Error (22): The requested URL returned error: 400 Bad Request Response received (400 - Bad Request) Today, 09:12 Request Sent (cURL) - https://api.paypal.com/v1/notifications/webhooks/ Error:cURL Error (22): The requested URL returned error: 405 Method Not Allowed Response received (405 - Method Not Allowed) Today, 09:12 Request Sent (cURL) - https://api.paypal.com/v1/notifications/webhooks Response received (200 - OK){"webhooks":[]} Today, 09:12 Request Sent (cURL) - https://api.paypal.com/v1/notifications/webhooks{ "url": "http://www.bigjimny.com/store/index.php?_g=rm&type=plugins&cmd=call&module=paypal_commerce", "event_types": [ { "name": "PAYMENT.CAPTURE.COMPLETED" }, { "name": "PAYMENT.CAPTURE.REVERSED" }, { "name": "PAYMENT.CAPTURE.REFUNDED" }, { "name": "PAYMENT.AUTHORIZATION.VOIDED" }, { "name": "PAYMENT.CAPTURE.DENIED" }, { "name": "CHECKOUT.ORDER.APPROVED" }, { "name": "CHECKOUT.ORDER.COMPLETED" }, { "name": "PAYMENT.CAPTURE.PENDING" }, { "name": "PAYMENT.AUTHORIZATION.CREATED" } ] } Error:cURL Error (22): The requested URL returned error: 400 Bad Request Response received (400 - Bad Request) Today, 09:12 Request Sent (cURL) - https://api.paypal.com/v1/notifications/webhooks/ Error:cURL Error (22): The requested URL returned error: 405 Method Not Allowed Response received (405 - Method Not Allowed) Today, 09:12 Request Sent (cURL) - https://api.paypal.com/v1/notifications/webhooks/ Error:cURL Error (22): The requested URL returned error: 405 Method Not Allowed Response received (405 - Method Not Allowed) Edited April 13 by Martin Lines Quote Link to comment Share on other sites More sharing options...
[email protected] Posted May 16 Share Posted May 16 (edited) This extension seems to be glitchy still.. Today we have had more than one occasion where the response is Today, 15:59 Request Sent (cURL) - https://api.paypal.com/v2/checkout/orders/4BU53633E89179603[{"op":"replace","path":"/purchase_units/@reference_id=='6282651aaeb56'/amount","value":{"value":"71.10","currency_code":"GBP","breakdown":{"item_total":{"value":"66.35","currency_code":"GBP"},"shipping":{"value":"4.75","currency_code":"GBP"},"tax_total":{"value":"0","currency_code":"GBP"},"discount":{"value":"0","currency_code":"GBP"}}}},{"op":"replace","path":"/purchase_units/@reference_id=='6282651aaeb56'/shipping/name","value":{"full_name":"xxxxxx"}},{"op":"replace","path":"/purchase_units/@reference_id=='6282651aaeb56'/shipping/address","value":{"address_line_1":"xxxxxxxxxx","address_line_2":"xxxxxxxx","admin_area_1":"Undefined","admin_area_2":"xxxxxxxxxx","postal_code":"xxxxxxxx","country_code":"GB"}}] Response received (204 - No Content) Today, 15:56 Request Sent (cURL) - https://api.paypal.com/v2/checkout/orders/4BU53633E89179603[{"op":"replace","path":"/purchase_units/@reference_id=='6282651aaeb56'/amount","value":{"value":"71.10","currency_code":"GBP","breakdown":{"item_total":{"value":"66.35","currency_code":"GBP"},"shipping":{"value":"4.75","currency_code":"GBP"},"tax_total":{"value":"0","currency_code":"GBP"},"discount":{"value":"0","currency_code":"GBP"}}}},{"op":"replace","path":"/purchase_units/@reference_id=='6282651aaeb56'/shipping/name","value":{"full_name":"xxxxxxxx"}},{"op":"replace","path":"/purchase_units/@reference_id=='6282651aaeb56'/shipping/address","value":{"address_line_1":"xxxxxxxxx","address_line_2":"xxxxxxxxxxx","admin_area_1":"Undefined","admin_area_2":"xxxxxxxxx","postal_code":"xxxxxxx","country_code":"GB"}}] Response received (204 - No Content) Needless to say some lost sales and two frustrated customers on the phone :-( Edited May 19 by Tony Hidden customer address Quote Link to comment Share on other sites More sharing options...
Tony Posted May 19 Share Posted May 19 Hi @[email protected] just to let you know I have edited your post as it was showing the customer's personal address to protect their data due to the GDPR regs. Quote Link to comment Share on other sites More sharing options...
[email protected] Posted May 19 Share Posted May 19 Thanks, I realised it but forgot to hide it! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.