• Resolved phototempus

    (@phototempus)


    Dear team, thanks for your plugin and support,
    There’s a problem in my : PayPal Credit Card (REST) – LIVE MODE

    Don’t works well in LIVE MODE. Tols me that the transaction is successful in the WordPress-Woocommerce but there’s not a real transaction. I will paste the LOG and I uploaded two screenshots in my host :

    https://www.ramion.org/01.JPG
    https://www.ramion.org/02.JPG

    THE LOG :

    [06-01-2018 03:17:01] PayPal\Core\PayPalHttpConnection: INFO : POST https://api.sandbox.paypal.com/v1/oauth2/token
    [06-01-2018 03:17:02] PayPal\Core\PayPalHttpConnection: DEBUG : Request Headers : POST /v1/oauth2/token HTTP/1.1, Host: api.sandbox.paypal.com, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.6.4 (platform-ver=7.0.25; bit=64; os=Linux_3.10.0-614.10.2.lve1.4.50.el6h.x86_64; machine=x86_64; crypto-lib-ver=1.0.1e-fips; curl=7.24.0), Authorization: Basic QWFMZFBNcF80VllhcTlldWNQVllRWGFndVI2dU9FN0dDMmI1T2I5YjhJWTVuYXRyYVJTRGxEcTQ2d0hGZ0dsd05PT0NOaTFEbURsN3k1Tkw6RUxNeTExazNPLTJnYlhDLUZKbUpNeFo5VTd1bk1kdlo3eVgwcW1IME5lbGJoU0xfMGo4UHRINWMyVTQzNnFIMmM3SzY3WjhweldFeV84dGo=, Accept: */*, PayPal-Partner-Attribution-Id: AngellEYE_SP_WooCommerce, Content-Length: 29, Content-Type: application/x-www-form-urlencoded, ,
    [06-01-2018 03:17:02] PayPal\Core\PayPalHttpConnection: DEBUG : Request Data : grant_type=client_credentials
    ——————————————————————————————————————————–

    [06-01-2018 03:17:02] PayPal\Core\PayPalHttpConnection: INFO : Response Status : 200
    [06-01-2018 03:17:02] PayPal\Core\PayPalHttpConnection: DEBUG : Response Headers : HTTP/1.1 200 OK, Date: Sat, 06 Jan 2018 15:17:02 GMT, Server: Apache, paypal-debug-id: a93fb9d95f643, X-PAYPAL-TOKEN-SERVICE: IAAS, HTTP_X_PP_AZ_LOCATOR: sandbox.slc, Paypal-Debug-Id: a93fb9d95f643, Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D1860718682%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Sat, 06 Jan 2018 15:47:02 GMT; domain=.paypal.com; path=/; Secure; HttpOnly, Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT, Vary: Authorization, Content-Length: 685, Connection: close, Content-Type: application/json, ,
    [06-01-2018 03:17:02] PayPal\Core\PayPalHttpConnection: DEBUG : Response Data : {“scope”:”https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/paypalhere https://api.paypal.com/v1/payments/.* https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/sale/.*/refund https://uri.paypal.com/services/applications/webhooks openid https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://api.paypal.com/v1/payments/refund”,”nonce”:”2018-01-06T15:08:28ZqJ0vAY_uUTwjHPaRJgBEzolrbKjp83BTNwoACx7wYyc”,”access_token”:”A21AAFaBT2GsSSkEBuzxICPB5E80n60R70JEnvJt0QvdyPAUxbxSG0B577KkZw3BtSYetSdpePIbc-iAb-cRJe3E8NGICZ2VQ”,”token_type”:”Bearer”,”app_id”:”APP-80W284485P519543T”,”expires_in”:31886}

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

    [06-01-2018 03:17:02] PayPal\Core\PayPalHttpConnection: INFO : POST https://api.sandbox.paypal.com/v1/payments/payment
    [06-01-2018 03:17:08] PayPal\Core\PayPalHttpConnection: DEBUG : Request Headers : POST /v1/payments/payment HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.6.4 (platform-ver=7.0.25; bit=64; os=Linux_3.10.0-614.10.2.lve1.4.50.el6h.x86_64; machine=x86_64; crypto-lib-ver=1.0.1e-fips; curl=7.24.0), Authorization: Bearer A21AAFaBT2GsSSkEBuzxICPB5E80n60R70JEnvJt0QvdyPAUxbxSG0B577KkZw3BtSYetSdpePIbc-iAb-cRJe3E8NGICZ2VQ, PayPal-Request-Id: 2919111806337764151525181641393, PayPal-Partner-Attribution-Id: AngellEYE_SP_WooCommerce, Content-Length: 817, ,
    [06-01-2018 03:17:08] PayPal\Core\PayPalHttpConnection: DEBUG : Request Data : {“intent”:”sale”,”payer”:{“payment_method”:”credit_card”,”funding_instruments”:[{“credit_card”:{“type”:”visa”,”number”:”4539967020522787″,”expire_month”:”06″,”expire_year”:2021,”cvv2″:”218″,”first_name”:”ijioijo”,”last_name”:”ijioiojijo”}}]},”transactions”:[{“amount”:{“currency”:”EUR”,”total”:”10.90″,”details”:{“shipping”:”8.90″,”tax”:”0.00″,”subtotal”:”2.00″}},”item_list”:{“items”:[{“name”:”Regreso a casa – Etiop\u00eda”,”currency”:”EUR”,”quantity”:1,”price”:”2.00″}],”shipping_address”:{“recipient_name”:”ijioijoijioiojijo”,”line1″:”opjopjjo”,”line2″:””,”city”:”barcelona”,”state”:”VI”,”postal_code”:”17257″,”country_code”:”ES”}},”description”:”Payment description”,”invoice_number”:”5a50e86ddfb6a”,”custom”:”{\”order_id\”:6900,\”order_key\”:\”wc_order_5a50e86d2163e\”}”,”soft_descriptor”:”Comparte Aventura”}]}
    ——————————————————————————————————————————–

    [06-01-2018 03:17:08] PayPal\Core\PayPalHttpConnection: INFO : Response Status : 201
    [06-01-2018 03:17:08] PayPal\Core\PayPalHttpConnection: DEBUG : Response Headers : HTTP/1.1 201 Created, Date: Sat, 06 Jan 2018 15:17:02 GMT, Server: Apache, paypal-debug-id: 67fc6bdf9e4b3, Content-Language: *, HTTP_X_PP_AZ_LOCATOR: sandbox.slc, Paypal-Debug-Id: 67fc6bdf9e4b3, Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D1860718682%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Sat, 06 Jan 2018 15:47:08 GMT; domain=.paypal.com; path=/; Secure; HttpOnly, Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT, Vary: Authorization, Content-Length: 1672, Connection: close, Content-Type: application/json, ,
    [06-01-2018 03:17:08] PayPal\Core\PayPalHttpConnection: DEBUG : Response Data : {“id”:”PAY-6J081396U25997000LJIOQ3Q”,”create_time”:”2018-01-06T15:17:02Z”,”update_time”:”2018-01-06T15:17:08Z”,”state”:”approved”,”intent”:”sale”,”payer”:{“payment_method”:”credit_card”,”funding_instruments”:[{“credit_card”:{“type”:”visa”,”number”:”xxxxxxxxxxxx2787″,”expire_month”:”6″,”expire_year”:”2021″,”first_name”:”ijioijo”,”last_name”:”ijioiojijo”}}]},”transactions”:[{“amount”:{“total”:”10.90″,”currency”:”EUR”,”details”:{“subtotal”:”2.00″,”shipping”:”8.90″}},”description”:”Payment description”,”custom”:”{\”order_id\”:6900,\”order_key\”:\”wc_order_5a50e86d2163e\”}”,”invoice_number”:”5a50e86ddfb6a”,”item_list”:{“items”:[{“name”:”Regreso a casa – Etiopía”,”price”:”2.00″,”currency”:”EUR”,”quantity”:”1″}],”shipping_address”:{“recipient_name”:”ijioijoijioiojijo”,”line1″:”opjopjjo”,”city”:”barcelona”,”state”:”VI”,”postal_code”:”17257″,”country_code”:”ES”}},”related_resources”:[{“sale”:{“id”:”05J20310252090319″,”create_time”:”2018-01-06T15:17:02Z”,”update_time”:”2018-01-06T15:17:08Z”,”amount”:{“total”:”10.90″,”currency”:”EUR”},”state”:”completed”,”parent_payment”:”PAY-6J081396U25997000LJIOQ3Q”,”links”:[{“href”:”https://api.sandbox.paypal.com/v1/payments/sale/05J20310252090319″,”rel”:”self”,”method”:”GET”},{“href”:”https://api.sandbox.paypal.com/v1/payments/sale/05J20310252090319/refund”,”rel”:”refund”,”method”:”POST”},{“href”:”https://api.sandbox.paypal.com/v1/payments/payment/PAY-6J081396U25997000LJIOQ3Q”,”rel”:”parent_payment”,”method”:”GET”}],”fmf_details”:{},”processor_response”:{“avs_code”:”X”,”cvv_code”:”M”}}}]}],”links”:[{“href”:”https://api.sandbox.paypal.com/v1/payments/payment/PAY-6J081396U25997000LJIOQ3Q”,”rel”:”self”,”method”:”GET”}]}

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

    Thanks !!

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor angelleye

    (@angelleye)

    These logs are from the sandbox, and from what I see they are successful transactions. If you have an issue with live transactions we would need to see the live logs, and it would best to create a ticket here to submit those.

    Thread Starter phototempus

    (@phototempus)

    Thanks for your response !

    Yes, that’s the problem. As you see in the screenshots attached before I’m working in the LIVE mode, but the logs from my “paypal_credit_card_rest-794626463780b26c0c42a68ff3097a41.log ” tell that I’m working in Sandbox mode, what’s is wrong ?

    Thanks for your patience and I will open a ticket in the link you gave me.

    Plugin Contributor angelleye

    (@angelleye)

    Oh, I guess I missed that, sorry. That’s very odd, and we don’t have any other reports of this. Are you sure the log you’re providing here was generated from the live request?

    Please go into WooCommerce -> Status -> Logs, and delete the PayPal REST logs. Then go back into your REST settings, double check the value for Sandbox is not enabled, and then click Save even if you don’t change anything.

    Then give it another test to generate a fresh log with nothing but that one transaction in it, and let’s see how that looks.

    Thread Starter phototempus

    (@phototempus)

    Dear angelleye, I follow your indications step by step. But there isn’t solution yet , the fresh log is a succeful sandbox, but I’m working in LIVE mode :

    [08-01-2018 05:36:26] PayPal\Core\PayPalHttpConnection: INFO : POST https://api.sandbox.paypal.com/v1/oauth2/token
    [08-01-2018 05:36:30] PayPal\Core\PayPalHttpConnection: DEBUG : Request Headers : POST /v1/oauth2/token HTTP/1.1, Host: api.sandbox.paypal.com, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.6.4 (platform-ver=7.0.25; bit=64; os=Linux_3.10.0-614.10.2.lve1.4.50.el6h.x86_64; machine=x86_64; crypto-lib-ver=1.0.1e-fips; curl=7.24.0), Authorization: Basic QWFMZFBNcF80VllhcTlldWNQVllRWGFndVI2dU9FN0dDMmI1T2I5YjhJWTVuYXRyYVJTRGxEcTQ2d0hGZ0dsd05PT0NOaTFEbURsN3k1Tkw6RUxNeTExazNPLTJnYlhDLUZKbUpNeFo5VTd1bk1kdlo3eVgwcW1IME5lbGJoU0xfMGo4UHRINWMyVTQzNnFIMmM3SzY3WjhweldFeV84dGo=, Accept: */*, PayPal-Partner-Attribution-Id: AngellEYE_SP_WooCommerce, Content-Length: 29, Content-Type: application/x-www-form-urlencoded, ,
    [08-01-2018 05:36:30] PayPal\Core\PayPalHttpConnection: DEBUG : Request Data : grant_type=client_credentials
    ——————————————————————————————————————————–

    [08-01-2018 05:36:30] PayPal\Core\PayPalHttpConnection: INFO : Response Status : 200
    [08-01-2018 05:36:30] PayPal\Core\PayPalHttpConnection: DEBUG : Response Headers : HTTP/1.1 200 OK, Date: Mon, 08 Jan 2018 17:36:26 GMT, Server: Apache, paypal-debug-id: 9608e1fa3a5d2, X-PAYPAL-TOKEN-SERVICE: IAAS, HTTP_X_PP_AZ_LOCATOR: sandbox.slc, Paypal-Debug-Id: 9608e1fa3a5d2, Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D514610010%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Mon, 08 Jan 2018 18:06:30 GMT; domain=.paypal.com; path=/; Secure; HttpOnly, Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT, Vary: Authorization, Content-Length: 685, Connection: close, Content-Type: application/json, ,
    [08-01-2018 05:36:30] PayPal\Core\PayPalHttpConnection: DEBUG : Response Data : {“scope”:”https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/paypalhere https://api.paypal.com/v1/payments/.* https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/sale/.*/refund https://uri.paypal.com/services/applications/webhooks openid https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://api.paypal.com/v1/payments/refund”,”nonce”:”2018-01-08T17:36:30ZSyWOJAqoV7O2V9l1hxvahOSQiaJjgipT7D-jITx-F-s”,”access_token”:”A21AAHDlKbArAmsgqqVyaHbMCuSDiY_ghsWG4uxRwA-HYsbbxyuJPMwtDaHolmrD4BvR56QPAHy-8CmnFPoYXeapyLmdKLsKQ”,”token_type”:”Bearer”,”app_id”:”APP-80W284485P519543T”,”expires_in”:32400}

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

    [08-01-2018 05:36:30] PayPal\Core\PayPalHttpConnection: INFO : POST https://api.sandbox.paypal.com/v1/payments/payment
    [08-01-2018 05:36:36] PayPal\Core\PayPalHttpConnection: DEBUG : Request Headers : POST /v1/payments/payment HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.6.4 (platform-ver=7.0.25; bit=64; os=Linux_3.10.0-614.10.2.lve1.4.50.el6h.x86_64; machine=x86_64; crypto-lib-ver=1.0.1e-fips; curl=7.24.0), Authorization: Bearer A21AAHDlKbArAmsgqqVyaHbMCuSDiY_ghsWG4uxRwA-HYsbbxyuJPMwtDaHolmrD4BvR56QPAHy-8CmnFPoYXeapyLmdKLsKQ, PayPal-Request-Id: 2919111806369207151543298216475, PayPal-Partner-Attribution-Id: AngellEYE_SP_WooCommerce, Content-Length: 810, ,
    [08-01-2018 05:36:36] PayPal\Core\PayPalHttpConnection: DEBUG : Request Data : {“intent”:”sale”,”payer”:{“payment_method”:”credit_card”,”funding_instruments”:[{“credit_card”:{“type”:”visa”,”number”:”4539967020522787″,”expire_month”:”06″,”expire_year”:2021,”cvv2″:”218″,”first_name”:”iohioh”,”last_name”:”iohiohhio”}}]},”transactions”:[{“amount”:{“currency”:”EUR”,”total”:”10.90″,”details”:{“shipping”:”8.90″,”tax”:”0.00″,”subtotal”:”2.00″}},”item_list”:{“items”:[{“name”:”Regreso a casa – Etiop\u00eda”,”currency”:”EUR”,”quantity”:1,”price”:”2.00″}],”shipping_address”:{“recipient_name”:”iohiohiohiohhio”,”line1″:”iohioh”,”line2″:””,”city”:”barcelona”,”state”:”B”,”postal_code”:”08015″,”country_code”:”ES”}},”description”:”Payment description”,”invoice_number”:”5a53ac1a3f56a”,”custom”:”{\”order_id\”:6902,\”order_key\”:\”wc_order_5a53ac19ac8c0\”}”,”soft_descriptor”:”Comparte Aventura”}]}
    ——————————————————————————————————————————–

    [08-01-2018 05:36:36] PayPal\Core\PayPalHttpConnection: INFO : Response Status : 201
    [08-01-2018 05:36:36] PayPal\Core\PayPalHttpConnection: DEBUG : Response Headers : HTTP/1.1 201 Created, Date: Mon, 08 Jan 2018 17:36:30 GMT, Server: Apache, paypal-debug-id: d2d53d09d4a2b, Content-Language: *, HTTP_X_PP_AZ_LOCATOR: sandbox.slc, Paypal-Debug-Id: d2d53d09d4a2b, Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D514610010%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Mon, 08 Jan 2018 18:06:36 GMT; domain=.paypal.com; path=/; Secure; HttpOnly, Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT, Vary: Authorization, Content-Length: 1665, Connection: close, Content-Type: application/json, ,
    [08-01-2018 05:36:36] PayPal\Core\PayPalHttpConnection: DEBUG : Response Data : {“id”:”PAY-3FT23836S0744744XLJJ2YHY”,”create_time”:”2018-01-08T17:36:31Z”,”update_time”:”2018-01-08T17:36:36Z”,”state”:”approved”,”intent”:”sale”,”payer”:{“payment_method”:”credit_card”,”funding_instruments”:[{“credit_card”:{“type”:”visa”,”number”:”xxxxxxxxxxxx2787″,”expire_month”:”6″,”expire_year”:”2021″,”first_name”:”iohioh”,”last_name”:”iohiohhio”}}]},”transactions”:[{“amount”:{“total”:”10.90″,”currency”:”EUR”,”details”:{“subtotal”:”2.00″,”shipping”:”8.90″}},”description”:”Payment description”,”custom”:”{\”order_id\”:6902,\”order_key\”:\”wc_order_5a53ac19ac8c0\”}”,”invoice_number”:”5a53ac1a3f56a”,”item_list”:{“items”:[{“name”:”Regreso a casa – Etiopía”,”price”:”2.00″,”currency”:”EUR”,”quantity”:”1″}],”shipping_address”:{“recipient_name”:”iohiohiohiohhio”,”line1″:”iohioh”,”city”:”barcelona”,”state”:”B”,”postal_code”:”08015″,”country_code”:”ES”}},”related_resources”:[{“sale”:{“id”:”00X02970LW455003T”,”create_time”:”2018-01-08T17:36:31Z”,”update_time”:”2018-01-08T17:36:36Z”,”amount”:{“total”:”10.90″,”currency”:”EUR”},”state”:”completed”,”parent_payment”:”PAY-3FT23836S0744744XLJJ2YHY”,”links”:[{“href”:”https://api.sandbox.paypal.com/v1/payments/sale/00X02970LW455003T”,”rel”:”self”,”method”:”GET”},{“href”:”https://api.sandbox.paypal.com/v1/payments/sale/00X02970LW455003T/refund”,”rel”:”refund”,”method”:”POST”},{“href”:”https://api.sandbox.paypal.com/v1/payments/payment/PAY-3FT23836S0744744XLJJ2YHY”,”rel”:”parent_payment”,”method”:”GET”}],”fmf_details”:{},”processor_response”:{“avs_code”:”X”,”cvv_code”:”M”}}}]}],”links”:[{“href”:”https://api.sandbox.paypal.com/v1/payments/payment/PAY-3FT23836S0744744XLJJ2YHY”,”rel”:”self”,”method”:”GET”}]}

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

    Thank you for your reply on ticket [#456692]. My shop is in Germany. I read in some comments that Paypal REST is only for US, UK and Canada customers.
    Is that right?

    Best,
    Fresht

    Plugin Contributor angelleye

    (@angelleye)

    Ah, yes. Actually, PayPal Pro is available in US, UK, and Canada, but credit cards with the REST API are only available in the US. In fact, they just closed that off not long ago and they’re now redirecting people to Braintree instead.

    Braintree should be available for you, though, and our plugin does support that.

    Thread Starter phototempus

    (@phototempus)

    Thanks for the information.
    There’s some API that works in Europe and accept Credit Card without redirect to the Paypal webpage and without a SSL , a part Braintree ?

    Plugin Contributor angelleye

    (@angelleye)

    Yes, Braintree supports direct CC processing on your own page, and it also has a Drop In UI option that uses a hosted iFrame.

    Thread Starter phototempus

    (@phototempus)

    Thanks !! .
    Only Braintree supports direct CC or there are more ?. Without need a SSL

    Plugin Contributor angelleye

    (@angelleye)

    Braintree includes a Drop-In UI option that works in a hosted iFrame so you wouldn’t need the SSL. This is supported by our plugin as well as the direct Braintree CC processing.

    Either way, I would still recommend you use an SSL as this is one of the variables Google uses in SEO now, so you could hurt your page rank if you do not have an SSL running and protecting your pages.

    Thread Starter phototempus

    (@phototempus)

    Thanks team!

    Plugin Contributor angelleyesupport

    (@angelleyesupport)

    Glad that we were able to help you. I’m going to mark this ticket as resolved, but feel free to respond here again if you need any assistance.
    Also, If you have a moment to leave a review for our plugin, it will be greatly appreciated.
    Cheers!
    A very Happy New Year!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘PayPal Credit Card (REST) – LIVE MODE’ is closed to new replies.