Forum Replies Created

Viewing 15 replies - 1 through 15 (of 29 total)
  • Thread Starter nero2001

    (@nero2001)

    I deleted all the logs.

    I tried to make a purchase and the log called ‘wc-ppcp’ was created.
    Inside I find this text:

    2024-07-15T18:01:32+00:00 Info PayPal order created via PaymentPlugins\WooCommerce\PPCP\Rest\Routes\CartOrder::handle_post_request. Args: Array
    (
    [id] => 6M03910424581911N
    [intent] => CAPTURE
    [status] => CREATED
    [purchase_units] => Array
    (
    [0] => Array
    (
    [reference_id] => default
    [amount] => Array
    (
    [currency_code] => EUR
    [value] => 64.80
    [breakdown] => Array
    (
    [item_total] => stdClass Object
    (
    [currency_code] => EUR
    [value] => 72.00
    )

    [shipping] => PaymentPlugins\PayPalSDK\Shipping Object
    (
    [_values:protected] => Array
    (
    [currency_code] => EUR
    [value] => 0.00
    )

    [mappings:protected] => Array
    (
    )

    [index:PaymentPlugins\PayPalSDK\AbstractObject:private] =>
    [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] =>
    )

    [handling] => stdClass Object
    (
    [currency_code] => EUR
    [value] => 0.00
    )

    [tax_total] => stdClass Object
    (
    [currency_code] => EUR
    [value] => 0.00
    )

    [discount] => stdClass Object
    (
    [currency_code] => EUR
    [value] => 7.20
    )

    )

    )

    [payee] => Array
    (
    [email_address] => ***********
    [merchant_id] => ***********
    )

    [items] => Array
    (
    [0] => Array
    (
    [name] => ***********
    [unit_amount] => stdClass Object
    (
    [currency_code] => EUR
    [value] => 36.00
    )

    [quantity] => 1
    [description] => Product ID: 816. Variation ID: 2124
    [sku] => 2124
    )

    [1] => Array
    (
    [name] => ***********
    [unit_amount] => stdClass Object
    (
    [currency_code] => EUR
    [value] => 36.00
    )

    [quantity] => 1
    [description] => Product ID: 720. Variation ID: 2164
    [sku] => 2164
    )

    )

    [shipping] => Array
    (
    [name] => Array
    (
    [full_name] => ***********
    )

    [address] => Array
    (
    [address_line_1] => ***********
    [admin_area_2] => ***********
    [admin_area_1] => ***********
    [postal_code] => ***********
    [country_code] => ***********
    )

    )

    )

    )

    [payer] => Array
    (
    [name] => Array
    (
    [given_name] => ***********
    [surname] => ***********
    )

    [email_address] => ***********
    [address] => Array
    (
    [address_line_1] => ***********
    [admin_area_2] => ***********
    [admin_area_1] => ***********
    [postal_code] => ***********
    [country_code] => ***********
    )

    )

    [create_time] => 2024-07-15T18:01:32Z
    [links] => Array
    (
    [0] => Array
    (
    [href] => https://api.paypal.com/v2/checkout/orders/6M03910424581911N
    [rel] => self
    [method] => GET
    )

    [1] => Array
    (
    [href] => https://www.paypal.com/checkoutnow?token=6M03910424581911N
    [rel] => approve
    [method] => GET
    )

    [2] => Array
    (
    [href] => https://api.paypal.com/v2/checkout/orders/6M03910424581911N
    [rel] => update
    [method] => PATCH
    )

    [3] => Array
    (
    [href] => https://api.paypal.com/v2/checkout/orders/6M03910424581911N/capture
    [rel] => capture
    [method] => POST
    )

    )

    )
    Thread Starter nero2001

    (@nero2001)

    This is what came out of the log, for privacy I delete personal data:

    2024-07-15T15:30:27+00:00 ERROR API error: Array
    (
    [url] => https://api-m.sandbox.paypal.com/v2/checkout/orders/66T81040KY329305G
    [method] => GET
    [http_status] => 401
    [request] =>
    [error] => Array
    (
    [error] => invalid_client
    [error_description] => Client Authentication failed
    )

    )
    2024-07-15T15:30:38+00:00 ERROR API error: Array
    (
    [url] => https://api-m.sandbox.paypal.com/v1/oauth2/token
    [method] => POST
    [http_status] => 401
    [request] => Array
    (
    [grant_type] => client_credentials
    )

    [error] => Array
    (
    [error] => invalid_client
    [error_description] => Client Authentication failed
    )

    )
    2024-07-15T15:31:39+00:00 INFO PayPal order created via PaymentPlugins\WooCommerce\PPCP\Rest\Routes\CartOrder::handle_post_request. Args: Array
    (
    [id] => 5D965010W4111133S
    [intent] => CAPTURE
    [status] => CREATED
    [purchase_units] => Array
    (
    [0] => Array
    (
    [reference_id] => default
    [amount] => Array
    (
    [currency_code] => EUR
    [value] => 64.80
    [breakdown] => Array
    (
    [item_total] => stdClass Object
    (
    [currency_code] => EUR
    [value] => 72.00
    )

    [shipping] => PaymentPlugins\PayPalSDK\Shipping Object
    (
    [_values:protected] => Array
    (
    [currency_code] => EUR
    [value] => 0.00
    )

    [mappings:protected] => Array
    (
    )

    [index:PaymentPlugins\PayPalSDK\AbstractObject:private] =>
    [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] =>
    )

    [handling] => stdClass Object
    (
    [currency_code] => EUR
    [value] => 0.00
    )

    [tax_total] => stdClass Object
    (
    [currency_code] => EUR
    [value] => 0.00
    )

    [discount] => stdClass Object
    (
    [currency_code] => EUR
    [value] => 7.20
    )

    )

    )

    [payee] => Array
    (
    [email_address] => info@*********.it
    [merchant_id] => ************
    )

    [items] => Array
    (
    [0] => Array
    (
    [name] => ************ - 500 ml
    [unit_amount] => stdClass Object
    (
    [currency_code] => EUR
    [value] => 36.00
    )

    [quantity] => 1
    [description] => Product ID: 816. Variation ID: 2124
    [sku] => 2124
    )

    [1] => Array
    (
    [name] => **************** - 500 ml
    [unit_amount] => stdClass Object
    (
    [currency_code] => EUR
    [value] => 36.00
    )

    [quantity] => 1
    [description] => Product ID: 720. Variation ID: 2164
    [sku] => 2164
    )

    )

    [shipping] => Array
    (
    [address] => Array
    (
    [address_line_1] => Via *******
    [admin_area_2] => *******
    [admin_area_1] => **
    [postal_code] => *****
    [country_code] => IT
    )

    )

    )

    )

    [payer] => Array
    (
    [name] => Array
    (
    [given_name] => *******
    [surname] => *******
    )

    [email_address] => *******@********.it
    [address] => Array
    (
    [address_line_1] => *******
    [admin_area_2] => *******
    [admin_area_1] => *******
    [postal_code] => *******
    [country_code] => IT
    )

    )

    [create_time] => 2024-07-15T15:31:39Z
    [links] => Array
    (
    [0] => Array
    (
    [href] => https://api.paypal.com/v2/checkout/orders/5D965010W4111133S
    [rel] => self
    [method] => GET
    )

    [1] => Array
    (
    [href] => https://www.paypal.com/checkoutnow?token=5D965010W4111133S
    [rel] => approve
    [method] => GET
    )

    [2] => Array
    (
    [href] => https://api.paypal.com/v2/checkout/orders/5D965010W4111133S
    [rel] => update
    [method] => PATCH
    )

    [3] => Array
    (
    [href] => https://api.paypal.com/v2/checkout/orders/5D965010W4111133S/capture
    [rel] => capture
    [method] => POST
    )

    )

    )
    2024-07-15T15:36:29+00:00 INFO Capturing payment for PayPal order 6AT931542W4999323 via PaymentPlugins\WooCommerce\PPCP\PaymentHandler::process_payment. Order ID: 4029
    2024-07-15T15:36:37+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED
    2024-07-15T15:36:51+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED
    Thread Starter nero2001

    (@nero2001)

    Hi,

    No unfortunately I do not have a staging site.

    So what should I do? How can I ask PayPal?

    Thank you

    Thread Starter nero2001

    (@nero2001)

    Hi,

    I wrote to https://paypal.inpsyde.com/docs/request-support/ on April 6 sending the system report, but have not yet gotten a response.

    How can I do this?

    Thread Starter nero2001

    (@nero2001)

    I read about the same problem from other users of their German language site, I want to point out that my site only ships to Italy and the whole site is only in Italian language.

    Thread Starter nero2001

    (@nero2001)

    I solved it!

    I actually didn’t need to insert the hidden fields, because the plugin effectively transports the fields from pages 1, 2 and 3 to page 4.

    Your reasoning, however, made me think of an alternative solution.
    I changed the email setting, where I wrote:

    Where do you want to travel? [tour-bhutan][tour-burma][tour-india]

    As only the field filled in by the user is displayed, the other 2 are hidden and so I get the result I want.

    This way I don’t have to enter group tags in the email.

    Thanks anyway

    Thread Starter nero2001

    (@nero2001)

    Hi,

    This is a screenshot of Checkout Behaviour Reports.
    As you can see, the message “Missing e-commerce Data” is always present.
    Even though we made few sales, we did some. Yet it is not detected.

    What could be the problem?

    Regards

    Thread Starter nero2001

    (@nero2001)

    Hi,

    OK, but I have this message in Google Analytics:

    Missing e-commerce Data
    
    First detection: 26-Mar-2020 10.12.21
    Last detection: 2-May-2020 17.46.06
    
    The display of All Website Data is configured for e-commerce, but no data on recent transactions has been received. Your site may not be coded for e-commerce.
    
    Google Tag Assistant Recordings can help you determine if e-commerce data is sent correctly to Google Analytics.
    
    Further information: https://support.google.com/analytics/bin/answer.py?answer=1037063&hl=en
    

    Screenshot of Analytics

    Best regards

    Thread Starter nero2001

    (@nero2001)

    Great! Now it’s work!

    Thank you so much!

    Thread Starter nero2001

    (@nero2001)

    ok, I look forward to the update.

    Thank you

    Thread Starter nero2001

    (@nero2001)

    Hi Sanjeev,

    on my site I don’t use AMP, and in the settings of your plugin I ticked the “Structured Data for Non AMP” item.
    The problem is that in the travel page, where I have to enter the code, I get this red message “not a valid json”, but the code has been tested on the Google page of the structured data test.

    {
      "@context": "https://schema.org",
      "@type": "Trip",
      "name": "trip name",
      "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque egestas ultricies lacus, id condimentum dui.",
      "itinerary": [
            {
                "@type": "City",
                "name": "city name",
                "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque egestas ultricies lacus, id condimentum dui.",
                "url": "https://www.example.com/"
            },
            {
                "@type": "City",
                "name": "city name",
                "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque egestas ultricies lacus, id condimentum dui.",
                "url": "https://www.example.com/"
            },
            {
                "@type": "City",
                "name": "city name",
                "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque egestas ultricies lacus, id condimentum dui.",
                "url": "https://www.example.com/"
            },
            {
                "@type": "City",
                "name": "city name",
                "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque egestas ultricies lacus, id condimentum dui.",
                "url": "https://www.example.com/"
            },
            {
                "@type": "City",
                "name": "city name",
                "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque egestas ultricies lacus, id condimentum dui.",
                "url": "https://www.example.com/"
            },
            {
                "@type": "City",
                "name": "city name",
                "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque egestas ultricies lacus, id condimentum dui.",
                "url": "https://www.example.com/"
            },
            {
                "@type": "City",
                "name": "city name",
                "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque egestas ultricies lacus, id condimentum dui.",
                "url": "https://www.example.com/"
            }
        ]
      }
    }

    Thanks

    • This reply was modified 5 years ago by nero2001.
    Thread Starter nero2001

    (@nero2001)

    I didn’t insert the script tags, but it doesn’t work.
    Any idea?
    Thanks

    Thread Starter nero2001

    (@nero2001)

    Hi Sanjeev,

    I’m trying to insert a code inside the post, but it tells me “not a valid json” and is not applied to the page.
    The code I entered is correct, I also verified it with the test of Google’s structured data.

    What should i do?

    thanks

    Thread Starter nero2001

    (@nero2001)

    Yes, but so I have to manually reconstruct every single page of the site in AMP version, unthinkable given the hundreds of pages present.

    Thread Starter nero2001

    (@nero2001)

    Hi Ahmed,

    it’s a builder integrated into the theme. I don’t see it among the plugins.
    You can find other information on the author’s page.

    Thanks

    https://bit.ly/32wDUt8

Viewing 15 replies - 1 through 15 (of 29 total)