Jump to content


Photo

The Doexpresscheckoutpayment Is Returning A Blank Value (No Error Message Returned)

paypal php

  • Please log in to reply
No replies to this topic

#1 andreea115

andreea115

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 23 June 2015 - 06:33 PM

I am trying to set up paypal on my site.

i have got the SetExpressCheckout and GetExpressCheckoutDetails to work and indeed return values.

However, its the last part that is not working, i.e the ExpressCheckoutPayment

when i send a request for the payment i receive a blank response (no error message is received).

i accordingly welcome any ideas on what could be going wrong or advise on how to correct it.

Below is a var_dump  of the values i sent to paypal for payment.

SpeckPaypal\Request\DoExpressCheckoutPayment Object
(
[token:protected] => EC-2VX57673DT2502404
[payerId:protected] => CFX9A9C7MM58W
[returnFmfDetails:protected] =>
[giftMessage:protected] =>
[giftReceiptEnable:protected] =>
[giftWrapName:protected] =>
[giftWrapAmount:protected] =>
[buyerMarketingEmail:protected] =>
[surveyQuestion:protected] =>
[surveyChoiceSelected:protected] =>
[buttonSource:protected] =>
[insuranceOptionSelected:protected] =>
[shippingOptionIsDefault:protected] =>
[shippingOptionAmount:protected] =>
[shippingOptionName:protected] =>
[_paymentDetails:protected] => Array
(
[CURRENCYCODE] => GBP
[AMT] => 30.00
[SHIPPINGAMT] => 0.00
[HANDLINGAMT] => 0.00
[TAXAMT] => 0.00
[INSURANCEAMT] => 0.00
[SHIPDISCAMT] => 0.00
[INSURANCEOPTIONOFFERED] => false
[SHIPTONAME] => testAccount TestAccount
[SHIPTOSTREET] => 1 Main Terrace
[SHIPTOCITY] => Wolverhampton
[SHIPTOSTATE] => West Midlands
[SHIPTOZIP] => W12 4LQ
[SHIPTOCOUNTRYCODE] => GB
[SHIPTOCOUNTRYNAME] => United Kingdom
[ADDRESSSTATUS] => Confirmed
)

[method:protected] => DoExpressCheckoutPayment
)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users