• Resolved syberpunk2027

    (@syberpunk2027)


    After using this plugin, when the customer fills in the address on the checkout page and clicks “PayPal” or “Debit or Credit card” to checkout, it will not be displayed in log by default, if the checkout were not successful in the end. if any way to display that log so that we can know which person have been not make the purchase in the end?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @syberpunk2027

    You can enable the debug log via the API Settings page of the PayPal plugin. If there is a payment failure, it will be recorded in the log, which has the naming convention “wc-ppcp”.

    You can also reference the order notes for any failed orders.

    Kind Regards

    Thread Starter syberpunk2027

    (@syberpunk2027)

    thank for the reply. I already be check of “Enabled?Debug” on API setting page. here is my situation, if the order be check out successful, it will display the log.

    but if the order were not be check out successful, there is no log even they are already customer fill the email, address and tel form. I want it be display like woocommerce-paypal-payments with that log with info. if there be possibly?

    by the way, I am also install the woocommerce-paypal-payments plugin, but just make this Method gateway no be check on woocommerce>setting>payment>Enabled.

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @syberpunk2027

    but if the order were not be check out successful, there is no log even they are already customer fill the email, address and tel form.

    It depends on the nature of the failed order. For example, if the checkout form validations fail, then naturally there won’t be a PayPal log entry since the validation failed before payment.

    I want it be display like?woocommerce-paypal-payments?with that log with info.

    Can you provide an example?

    Thanks

    Thread Starter syberpunk2027

    (@syberpunk2027)

    Here is woocommerce-paypal-payments?with that log example. Event thought this customer have check out successful, but we still can contact client base on log record by email or tel, and we can ask for client what happens during the checkout process?

    2023-06-19T01:13:29+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
    Request Body: {“intent”:”CAPTURE”,”purchase_units”:[{“reference_id”:”default”,”amount”:{“currency_code”:”USD”,”value”:”62.99″,”breakdown”:{“item_total”:{“currency_code”:”USD”,”value”:”62.99″},”shipping”:{“currency_code”:”USD”,”value”:”0.00″},”tax_total”:{“currency_code”:”USD”,”value”:”0.00″}}},”description”:””,”items”:[{“name”:”Bridal jewerly set – 2″,”unit_amount”:{“currency_code”:”USD”,”value”:”62.99″},”quantity”:1,”description”:””,”sku”:”JW**-2″,”category”:”PHYSICAL_GOODS”}],”payee”:{“merchant_id”:”MY***”},”shipping”:{“name”:{“full_name”:” “},”address”:{“country_code”:”US”,”address_line_1″:”16980 “,”admin_area_1″:”CA”,”admin_area_2″:”Lodi”,”postal_code”:”95240″}}}],”application_context”:{“user_action”:”CONTINUE”,”shipping_preference”:”SET_PROVIDED_ADDRESS”,”landing_page”:”LOGIN”,”locale”:”en-US”,”brand_name”:”L8s”,”return_url”:”https:\/\/www.***.com\/?wc-ajax=ppc-return-url”,”cancel_url”:”https:\/\/www.***.com\/checkout\/”},”payer”:{“email_address”:”Mejia****@yahoo.com”,”name”:{“given_name”:”Man***”,”surname”:”Tejeda****”},”address”:{“country_code”:”US”,”address_line_1″:”16980 **“,”admin_area_1″:”CA”,”admin_area_2″:”Lodi”,”postal_code”:”95240″},”phone”:{“phone_type”:”HOME”,”phone_number”:{“national_number”:”***907064″}}},”payment_method”:{“payee_preferred”:”IMMEDIATE_PAYMENT_REQUIRED”,”payer_selected”:”PAYPAL”}}
    Response Debug ID: c4aa6c8e8ef24
    Response: Array
    (
    [code] => 201
    [message] => Created

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @syberpunk2027

    Thank for sharing that. We’ll make a note to consider that as a future feature. We take performance seriously and we have designed this plugin to not make any additional writes/reads etc.

    Perhaps we will add debug options where you can turn on/off different logging behavior.

    Kind Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘how to displayed full log’ is closed to new replies.