Zen Cart Logo
Forums / PayPal Express Checkout support / Paypal express checkout not working on my store

Paypal express checkout not working on my store

Views: 2,186

Results 1 to 8 of 8
1 Aug 2015, 6:05 AM
#1
prabhatm avatar

prabhatm

New Zenner

Join Date:
Jun 2015
Location:
Delhi, India
Posts:
32
Plugin Contributions:
0

Paypal express checkout not working on my store

I am a merchant based in India trying to setup PAYPAL EXPRESS CHECKOUT on my ZENCART 1.5.4 enabled store.

When the user tries to pay through PAYPAL EXPRESS CHECKOUT, he gets a message that his payment can not be sent to the store owner.
I contacted the PAYPAL Tech Support. I was given the following advice :

=========================

Thank you for contacting PayPal Merchant Technical Support. My name is Hilman and I will assist on this matter.

From what I can see is, your account is a newly registered account. From the log that you provided, I can see that you only perform setExpressCheckout. During setExpressCheckout, no transaction will happens. You need to call for DoExpressCheckout after that to complete the transaction.

I checked your API logs in your account based on the token, I can see that your integration stop there. You never perform the DoExpressCheckout method.

Please refer here for details about Express Checkout:

https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECGettingStarted/

Hope this help.

How do we perform DoExpressCheckout method ?

Prabhat

1 Aug 2015, 6:40 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Paypal express checkout not working on my store

Suggest turning on logging for paypal and checking the logs directory for myDebug files...

1 Aug 2015, 6:47 AM
#3
prabhatm avatar

prabhatm

New Zenner

Join Date:
Jun 2015
Location:
Delhi, India
Posts:
32
Plugin Contributions:
0

Re: Paypal express checkout not working on my store

Here's the DEBUG report.

====================
2015-07-31 12:57:15

(live transaction) --> https://api-3t.paypal.com/nvp
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/NVP
[4] => X-VPS-VIT-Integration-Version: 1.5.4
)

Request Parameters: {SetExpressCheckout}
Array
(
[CURRENCYCODE] => USD
[GIFTMESSAGEENABLE] => 0
[GIFTRECEIPTEENABLE] => 0
[GIFTWRAPENABLE] => 0
[GIFTWRAPNAME] =>
[GIFTWRAPAMOUNT] => 0
[BUYEREMAILOPTINENABLE] => 0
[CUSTOMERSERVICENUMBER] => 011-46567278
[BRANDNAME] => ALT2MEDIA
[PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[LANDINGPAGE] => Billing
[NOSHIPPING] => 1
[EMAIL] => vishnupatro######################
[SHIPTOPHONENUM] => 9811101565
[AMT] => 1.47
[RETURNURL] => https://alt2media.com/eshop/ipn_main_handler.php?type=ec&zenid=9lqk0km4ap3ul43pi4epjbm822
[CANCELURL] => https://alt2media.com/eshop/index.php?main_page=checkout_shipping&ec_cancel=1&zenid=9lqk0km4ap3ul43pi4epjbm822
[PAGESTYLE] => Primary
[METHOD] => SetExpressCheckout
[USER] => alt2media_api1.gmail.com
[PWD] => ****************
[VERSION] => 61.0
[SIGNATURE] => ****************************************************0N-2
)

Response:
Array
(
[TOKEN] => EC-0EP24640HW9693920
[TIMESTAMP] => 2015-07-31T12:57:15Z
[CORRELATIONID] => 6ebd7dcdae0cd
[ACK] => Success
[VERSION] => 61.0
[BUILD] => 000000
[CURL_ERRORS] =>
)

=====================
The customer's a/c was debited and the REVERESED.

Hope this helps.

Prabhat

1 Aug 2015, 7:06 AM
#4
prabhatm avatar

prabhatm

New Zenner

Join Date:
Jun 2015
Location:
Delhi, India
Posts:
32
Plugin Contributions:
0

Re: Paypal express checkout not working on my store

......The customer's a/c was debited and then REVERESED.

1 Aug 2015, 12:53 PM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,096
Plugin Contributions:
56

Re: Paypal express checkout not working on my store

Without further inspection, I'm guessing that your issue is session-related since the setExpressCheckout call still includes a zenid parameter (which, BTW, you should never, ever post with a link to your site).

1 Aug 2015, 1:14 PM
#6
prabhatm avatar

prabhatm

New Zenner

Join Date:
Jun 2015
Location:
Delhi, India
Posts:
32
Plugin Contributions:
0

Re: Paypal express checkout not working on my store

Okay ! Thanks.

1 Aug 2015, 1:15 PM
#7
prabhatm avatar

prabhatm

New Zenner

Join Date:
Jun 2015
Location:
Delhi, India
Posts:
32
Plugin Contributions:
0

Re: Paypal express checkout not working on my store

Should I delete from here?

1 Aug 2015, 10:11 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Paypal express checkout not working on my store

prabhatM:

......The customer's a/c was debited and then REVERESED.
Um if the account was debited and reversed, then that means your store DID charge them (debited) and PayPal reversed it (reversed). That's not something Zen Cart would do, and is inconsistent with everything else you've reported here.

Zen Cart does automatically do the DoExpressCheckoutPayment step if the customer proceeds all the way through checkout and your store doesn't encounter PHP errors and doesn't have anything else added to the software to intercept normal checkout operation.