Would still love to join the rest of the world on php 7+
Any chance of a discussion on this issue?
Would still love to join the rest of the world on php 7+
Any chance of a discussion on this issue?
Still a problem
Begining to find the lack of communication bewildering.
The one time DrB replied you got the issue the wrong way round.
I've made it clear I will work with you to solve the problem by providing full logs of the issue once I know a resolution is being worked towards.
Hi @DrByte
I have two sites for the same client one runs Zencart 1.5.6a and the other 1.5.6c both run on a server running PHP 7 and recently switched to using PayPal Express with Payflow-UK. Both sites offer either payment by CC/DC and PAYPAL if the customer selects CC payment goes through without any issues . But if they opt for PayPal they get the "An error occurred when we tried to contact the payment processor. Please try agin , select an alternative payment method, or contact the store owner for assistance. (4) 4 Invalid Amount - Invalid Amount"
Can anyone throw some light on this please, thank you.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
This is the CURL Log
2021-02-23 10:51:16
-------------------
(live transaction) --> https://payflowpro.paypal.com/transaction
Request Headers:
Array
(
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 90
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(R) - PayPal/Payflow Pro
[4] => X-VPS-VIT-Integration-Version: 1.5.6
)
Request Parameters: {SetExpressCheckout}
Array
(
[PAYMENTREQUEST_0_AMT] => 1
[PAYMENTREQUEST_0_ITEMAMT] => 0.83
[PAYMENTREQUEST_0_TAXAMT] => 0.17
[L_PAYMENTREQUEST_0_NUMBER0] => test
[L_PAYMENTREQUEST_0_NAME0] => test [894]
[L_PAYMENTREQUEST_0_QTY0] => 1
[L_PAYMENTREQUEST_0_AMT0] => 0.83
[PAYMENTREQUEST_0_CURRENCYCODE] => GBP
[LOCALECODE] => GB
[GIFTMESSAGEENABLE] => 0
[GIFTRECEIPTEENABLE] => 0
[GIFTWRAPENABLE] => 0
[GIFTWRAPNAME] =>
[GIFTWRAPAMOUNT] => 0
[BUYEREMAILOPTINENABLE] => 0
[CUSTOMERSERVICENUMBER] =>
[BRANDNAME] => *****
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[LANDINGPAGE] => Billing
[NOSHIPPING] => 0
[REQCONFIRMSHIPPING] => 1
[EMAIL] => *******
[PAYMENTREQUEST_0_SHIPTOPHONENUM] => 5445454545
[ACTION] => S
[TENDER] => P
[TRXTYPE] => S
[RETURNURL[61]] => https://domain/ipn_main_handler.php?type=ec
[CANCELURL[82]] => https://domain/index.php?main_page=checkout_shipping
[ec_cancel] => 1
[PAGESTYLE] => Primary
[REQUEST_ID] => 1614077475
[USER] =>*******
[PWD] => ****************
[PARTNER] => PayPalUK
[VENDOR] => ******
)
Response:
Array
(
[RESULT] => 4
[RESPMSG] => Invalid amount
[REQUEST_ID] => 1614077475
[CURL_ERRORS] =>
)
SetExpressCheckout, Elapsed: 699ms -- Failed
RESULT=4&RESPMSG=Invalid amount&REQUEST_ID=1614077475&CURL_ERRORS=
The strange thing is if I change the option to PayPal and not Payflow-UK in admin express checkout the problem does not occur. Dr Byte for your info when the client applied to Paypal for pro, PayPal had to give them a special link for the option for Payflow-UK as it did not appear in their account. I spoke with PayPal and they have changed or are going to change something. I have emailed PayPal but still awaiting a reply from them!
Thanks for your help.
I'm wondering:
- Is it because the amount is so low? ie: under 1.00 when the tax portion is separated out for PayPal's calculations?
- How is the log different when using "PayPal" vs "Payflow-UK"?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
The Test purchase of £1.00 is not an issue when the Payflow-UK has been changed to PayPal. The amount of purchase does not seem to matter as some purchases produced the warning that were £50 plus, customers where unable to complete the purchase. CC payments go through OK . It's only when the customers opts to pay via PayPal express, and we have set express to use Payflow-UK that we get a problem.
When using PayPal no log is generated as far as I can see, apart from the usual in admin/orders details.
Just as a side issue, as I understand it Cardinal Commerce has an agreement with PayPal and all you need to do is register, the link that PayPal sent no longer works. Are you aware of a link that allows Zencart users to register with Cardinal Commerce?
Thanks
@DrByte
Something has changed at PayPal. We have contacted PayPal and they are looking into why the Cardinal Commerce process is not working . Because the link that PayPal provided no longer works (same link on zen cart documents). The client contacted Cardinal Commerce with the following reply:"Basically you will need to go back to PayPal as they currently do not have an EMV 3D Secure solution in place." Paypal support has been emailed with this information, and we await a reply.
So we have stopped using the Payflow-uk option in Zencart and currently use Paypal option. This works for customer paying via PayPal express or PayPal, no logs appear.
However, if the CC version of payment is used the payment goes through but an email is generated saying "Cardinal Lookup 3[nn2ej6m516kr6sf8hf420ta7h9] Cardinal Centinel - cmpi_lookup error - 1002, 2002, 2020 - Error Processing Lookup Request Message, Invalid Merchant Id or Processor Id, Invalid Transaction Password
There are 3 steps to configuring your Cardinal 3D-Secure service properly:
1-Login to the Cardinal Merchant Admin URL supplied in your welcome package (NOT the test URL), and accept the license agreement.
2-Set a transaction password.
3-Copy your Cardinal Merchant ID and Cardinal Transaction Password into your ZC PayPal module. etc"
My question is how can I disable the cardinal merchant aspect, is it really necessary in the UK as PayPal UK as I understand it are registered as a bank and would apply their own 2 part authentication or have I got this wrong?
Last edited by ianhg; 27 Feb 2021 at 02:49 PM.
Further information from Cardinal Commerce:
"At this time in 2021 we are referring PayPal Pro merchants back to PayPal for boarding on Complete Payments. We have been working on cleaning up the merchant messaging to minimize confusion but realize there is still some confusion out there. We were not able to enable 3DS 2.1 in a timely fashion for the UK merchants whom will need to support this protocol for issuers impacted by PSD2 mandates."
Bookmarks