Error with payments using coupon code
-
Hello,
when i try to place and order with paypal and a coupon applied i get:Something went wrong. Please try again or choose another payment source.
I tested a real order without the coupon code and it works
Please help me fix this as soon as possible, most of our customers use paypal.The page I need help with: [log in to see the link]
-
Hello @mikemike1234
Thank you for reaching out to us, we will try to help you get this resolved.
Can you please check your logs and see if there are any details there that could help us identify where this issue is caused? You should be able to find them here:
– WooCommerce > Status > Logs > select “woocommerce-paypal-payments-integration-\[…\]” in the dropdown and click on view.If you don’t see the woocommere-paypay-payment logs here, you might need to enable logging in to the plugin settings. If possible, make a test purchase in order to get us these logs, so we can confirm if this is related to a known issue or not.
Kind regards,
JoostI already enabled logging yesterday and after that i did some test orders, but this problem completely blocks the paypal popup from showing, so the order process never starts and doesnt output anything in the logs
i tested it again and now i got some logs. Here the result of the last order i tried to do:
2021-10-07T08:20:44+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: 90a5e600f76fe Response: Array ( [code] => 200 [message] => OK ) 2021-10-07T08:23:19+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"10.37","breakdown":{"item_total":{"currency_code":"EUR","value":"1.87"},"shipping":{"currency_code":"EUR","value":"8.54"},"tax_total":{"currency_code":"EUR","value":"0.41"},"discount":{"currency_code":"EUR","value":"0.45"}}},"description":"","items":[{"name":"Tassello fischer s 6 k blister","unit_amount":{"currency_code":"EUR","value":"1.87"},"quantity":1,"description":"","sku":"53789","category":"PHYSICAL_GOODS","tax":{"currency_code":"EUR","value":"0.41"}}],"payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"michele candura"},"address":{"country_code":"IT","address_line_1":"via torino 659","address_line_2":"","admin_area_1":"VA","admin_area_2":"Mercallo","postal_code":"21020"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"it-IT","brand_name":"Edil Service","return_url":"https:\/\/edilserviceitalia.it\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/edilserviceitalia.it\/checkout\/"},"payer":{"name":{"given_name":"michele","surname":"candura"},"email_address":"[email protected]","address":{"country_code":"IT","address_line_1":"via torino 659","address_line_2":"","admin_area_1":"VA","admin_area_2":"Mercallo","postal_code":"21020"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"12345678"}}},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}} Response Debug ID: f2cf4662e659d Response: Array ( [code] => 201 [message] => Created )
Hello @mikemike1234
the example logs you show above seem to be from a successful order; I did not see the error I was expecting. Would it be possible for you to provide me with a coupon to test the issue on your site? The full logs would also be good to have.
If you prefer not to put this information on a public forum, please open a ticket with our service desk. You can find the instruction for this here: https://paypal.inpsyde.com/docs/request-support/
(please add the URL of this thread in the ticket as well)Kind regards,
JoostYou can try using the code: QUE10
go to this page: https://edilserviceitalia.it/prodotto/ferramenta/cartucce/cartuccia-gas-a-forare-unificata/ then add the product to the cart and proceed to chekout. You will have to insert an address located in italy (only country: italy should be ok)
I’ll delete the coupon code afterwards and delete any possible order using that coupon.Check also the console, because it otputs some errors
Hello @mikemike1234
thank you for providing the coupon, I was able to use it and trigger the error. However, the coupon was only valid once and because of this I could not test more, which leave my findings incomplete.
However, I think your problem might not really be related to the coupons, but to the user accounts. I found that when created a purchase, I was forced to create an account (provide password) and after this I got the following errors:
– Something went wrong, please choose another payment option
– Could not validate nonce (this was without the coupon)
Then when I closed the site and retried the process, it let me go through with the coupon added. We are working on resolving an issue that causes this “Nonce” error and it is caused by a situation where the account creation, causes the payment to fail, since it is not sent to PayPal when you created the account during payment. Only when you refresh it will work.I believe you might be able to fix this by changing the settings under WooCommerce > Settings > Accounts and Privacy. The Guest checkout and Account creation should be configured differently in order to avoid this issue to be triggered.
Could you do some tests to see if changing those settings fixes your issue?
We are also going to test another coupon issue, but we don’t believe this is related, because you are not getting any errors related to that.Kind regards,
JoostHello,
thanks for the response. I changed the settings but i still getting the same error. I tried both using an account created during checkout and an already logged in account and i get the same error using the coupon, i also updated the coupon usage limits for the tests.
I think the problem is related to the coupon, because i tested creating an account during checkout without the coupon and it works. If this isn’t fixed soon we will have to implement paypal manually or something else, because we have a welcome coupon, so most of our orders cant be completed.Hello @mikemike1234
Would it be possible to share the full logs and your system report with us? I want to ask our team to take a closer look into this.
You can copy the logfiles from here:
– WooCommerce > Status > Get system report > Copy for support
– WooCommerce > Status > Logs > select “woocommerce-paypal-payments-integration-\[…\]” in the dropdown and click on view.
If you don’t feel comfortable sharing those details on a public forum, please open a ticket with our service desk. You can find the instruction for this here: https://paypal.inpsyde.com/docs/request-support/
(please add the URL of this thread in the ticket as well)Kind regards,
Joostwoocommerce status:
### WordPress Environment ### WordPress address (URL): https://edilserviceitalia.it Site address (URL): https://edilserviceitalia.it WC Version: 5.7.1 REST API Version: ? 5.7.1 WC Blocks Version: ? 5.7.2 Action Scheduler Version: ? 3.2.1 WC Admin Version: ? 2.6.5 Log Directory Writable: ? WP Version: 5.8.1 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ? Language: it_IT External object cache: – ### Server Environment ### Server Info: Apache/2.4.25 (Debian) PHP Version: 8.0.11 PHP Post Max Size: 400 MB PHP Time Limit: 800 PHP Max Input Vars: 12000 cURL Version: 7.52.1 OpenSSL/1.0.2u SUHOSIN Installed: – MySQL Version: 5.5.5-10.4.20-MariaDB-1:10.4.20+maria~stretch-log Max Upload Size: 400 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.7.1 WC Database Prefix: wp_ Dimensione totale database: 527.87MB Dimensione dati database: 341.21MB Dimensione indice database: 186.66MB wp_woocommerce_sessions: Dati: 1.02MB + indice: 0.02MB + motore InnoDB wp_woocommerce_api_keys: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_woocommerce_attribute_taxonomies: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_woocommerce_downloadable_product_permissions: Dati: 0.02MB + indice: 0.06MB + motore InnoDB wp_woocommerce_order_items: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_woocommerce_order_itemmeta: Dati: 0.14MB + indice: 0.14MB + motore InnoDB wp_woocommerce_tax_rates: Dati: 0.02MB + indice: 0.06MB + motore InnoDB wp_woocommerce_tax_rate_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_woocommerce_shipping_zones: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_woocommerce_shipping_zone_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_woocommerce_shipping_zone_methods: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_woocommerce_payment_tokens: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_woocommerce_payment_tokenmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_woocommerce_log: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_actionscheduler_actions: Dati: 11.52MB + indice: 13.02MB + motore InnoDB wp_actionscheduler_claims: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_actionscheduler_groups: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_actionscheduler_logs: Dati: 10.52MB + indice: 6.03MB + motore InnoDB wp_aioseo_notifications: Dati: 0.02MB + indice: 0.06MB + motore InnoDB wp_aioseo_posts: Dati: 11.52MB + indice: 1.52MB + motore InnoDB wp_commentmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_comments: Dati: 0.05MB + indice: 0.09MB + motore InnoDB wp_e_submissions: Dati: 0.02MB + indice: 0.27MB + motore InnoDB wp_e_submissions_actions_log: Dati: 0.02MB + indice: 0.11MB + motore InnoDB wp_e_submissions_values: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_grp_google_place: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_grp_google_review: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_guideplugin_index: Dati: 0.02MB + indice: 0.05MB + motore InnoDB wp_links: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_options: Dati: 56.44MB + indice: 15.67MB + motore InnoDB wp_postmeta: Dati: 182.70MB + indice: 114.02MB + motore InnoDB wp_posts: Dati: 49.56MB + indice: 18.09MB + motore InnoDB wp_revslider_css: Dati: 0.13MB + indice: 0.02MB + motore InnoDB wp_revslider_css_bkp: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_revslider_layer_animations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_revslider_layer_animations_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_revslider_navigations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_revslider_navigations_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_revslider_sliders: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_revslider_sliders_bkp: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_revslider_slides: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_revslider_slides_bkp: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_revslider_static_slides: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_revslider_static_slides_bkp: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_smart_maintenance_mode: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_termmeta: Dati: 1.52MB + indice: 0.81MB + motore InnoDB wp_terms: Dati: 0.25MB + indice: 0.23MB + motore InnoDB wp_term_relationships: Dati: 3.52MB + indice: 1.52MB + motore InnoDB wp_term_taxonomy: Dati: 0.19MB + indice: 0.20MB + motore InnoDB wp_tm_taskmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_tm_tasks: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_usermeta: Dati: 0.23MB + indice: 0.23MB + motore InnoDB wp_users: Dati: 0.02MB + indice: 0.05MB + motore InnoDB wp_user_registration_sessions: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_wc_admin_notes: Dati: 0.05MB + indice: 0.00MB + motore InnoDB wp_wc_admin_note_actions: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_wc_category_lookup: Dati: 0.38MB + indice: 0.00MB + motore InnoDB wp_wc_customer_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_wc_download_log: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_wc_gpf_render_cache: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_wc_order_coupon_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_wc_order_product_lookup: Dati: 0.02MB + indice: 0.06MB + motore InnoDB wp_wc_order_stats: Dati: 0.02MB + indice: 0.05MB + motore InnoDB wp_wc_order_tax_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB wp_wc_product_meta_lookup: Dati: 8.52MB + indice: 13.28MB + motore InnoDB wp_wc_reserved_stock: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_wc_tax_rate_classes: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_wc_webhooks: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_wdr_order_discounts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_wdr_order_item_discounts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_wdr_rules: Dati: 0.05MB + indice: 0.00MB + motore InnoDB wp_woocommerce_gpf_google_taxonomy: Dati: 1.52MB + indice: 0.00MB + motore InnoDB wp_woocommerce_shipping_table_rates: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_woodmart_wishlists: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_woodmart_wishlist_products: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_wpforms_entries: Dati: 0.06MB + indice: 0.02MB + motore InnoDB wp_wpforms_entry_fields: Dati: 0.02MB + indice: 0.05MB + motore InnoDB wp_wpforms_entry_meta: Dati: 0.02MB + indice: 0.02MB + motore InnoDB wp_wpforms_tasks_meta: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_wpmailsmtp_debug_events: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_wpmailsmtp_tasks_meta: Dati: 0.02MB + indice: 0.00MB + motore InnoDB wp_wpr_rucss_resources: Dati: 0.02MB + indice: 0.06MB + motore InnoDB wp_wpr_rucss_used_css: Dati: 0.02MB + indice: 0.05MB + motore InnoDB wp_xyz_ips_short_code: Dati: 0.08MB + indice: 0.00MB + motore InnoDB ### Post Type Counts ### ae_global_templates: 4 attachment: 35567 cms_block: 11 customize_changeset: 4 elementor_library: 3 guideplugin_facets: 2 guideplugin_filters: 1 nav_menu_item: 19 page: 62 post: 3 product: 26058 product_variation: 42321 revision: 1536 shop_coupon: 6 shop_order: 60 shop_order_refund: 1 user_registration: 1 wpforms: 10 wppb-roles-editor: 11 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (32) ### Ajax Cart AutoUpdate for WooCommerce: by taisho – 1.5.5 All in One SEO: by All in One SEO Team – 4.1.4.4 AnyWhere Elementor Pro: by WP Vibes – 2.16 Doofinder for WooCommerce: by doofinder – 1.5.10 Elementor Pro: by Elementor.com – 3.4.1 Elementor: by Elementor.com – 3.4.4 Facebook for WooCommerce: by Facebook – 2.6.5 Site Kit by Google: by Google – 1.42.0 GuidePlugin: by Sebastian Kraus – 1.0.16 Insert PHP Code Snippet: by xyzscripts.com – 1.3.2 JWT Authentication for WP-API: by Enrique Chavez – 1.2.6 Loco Translate: by Tim Whitlock – 2.5.4 Manage Notification E-mails: by Virgial Berveling – 1.8.0 Profile Builder - WooCommerce Sync Add-on: by Cozmoslabs Adrian Spiac – 1.5.9 Profile Builder Hobbyist: by Cozmoslabs – 3.5.6 Super Progressive Web Apps PRO: by SuperPWA – 1.9 Super Progressive Web Apps: by Super PWA – 2.1.16 Category Order and Taxonomy Terms Order: by Nsp-Code – 1.5.7.7 Visibility Logic for Elementor: by StaxWP – 2.1.7 Widget for Google Reviews: by RichPlugins – 1.9.9 Woo Discount Rules PRO 2.0: by Flycart – 2.3.8 Woo Discount Rules: by Flycart – 2.3.8 WooCommerce Stripe Gateway: by WooCommerce – 5.6.2 WooCommerce PayPal Payments: by WooCommerce – 1.6.0 WooCommerce Google Product Feed: by Ademti Software Ltd. – 10.1.2 WooCommerce Table Rate Shipping: by WooCommerce – 3.0.30 WooCommerce: by Automattic – 5.7.1 Woodmart Core: by – 1.0.29 Importatore WordPress: by wordpressdotorg – 0.7 WP Mail SMTP: by WPForms – 3.1.0 WP Rocket: by WP Media – 3.10 WPForms: by WPForms – 1.7.0 ### Inactive Plugins (2) ### Profile Builder - Social Connect Add-On: by Cozmoslabs Madalin Ungureanu Cristophor Hurduban – 1.1.9 Smart Maintenance Mode: by Brijesh Kothari – 1.4.4 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (1) ### Elementor Safe Mode: by Elementor.com – 1.0.0 ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: left Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: simple (simple) grouped (grouped) variable (variable) external (external) Taxonomies: Product Visibility: exclude-from-search (exclude-from-search) exclude-from-catalog (exclude-from-catalog) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #6 - /shop/ Carrello: #7 - /carrello/ Pagamento: #8 - /checkout/ Il mio account: #9 - /account/ Termini e condizioni: #57187 - /termini-e-condizioni/ ### Theme ### Name: Woodmart Child Version: 1.0.0 Author URL: https://xtemos.com Child Theme: ? Parent Theme Name: Woodmart Parent Theme Version: 6.1.4 Parent Theme Author URL: https://themeforest.net/user/xtemos WooCommerce Support: ? ### Templates ### Overrides: woodmart/woocommerce/archive-product.php woodmart/woocommerce/cart/cart-item-data.php woodmart/woocommerce/cart/cart.php woodmart/woocommerce/cart/cross-sells.php woodmart/woocommerce/cart/mini-cart.php woodmart/woocommerce/checkout/form-checkout.php woodmart/woocommerce/checkout/thankyou.php woodmart/woocommerce/content-product-cat.php woodmart/woocommerce/content-product.php woodmart/woocommerce/content-single-product.php woodmart/woocommerce/content-widget-product.php woodmart/woocommerce/global/breadcrumb.php woodmart/woocommerce/global/form-login.php woodmart/woocommerce/global/quantity-input.php woodmart/woocommerce/loop/add-to-cart.php woodmart/woocommerce/loop/loop-end.php woodmart/woocommerce/loop/loop-start.php woodmart/woocommerce/loop/no-products-found.php woodmart/woocommerce/loop/orderby.php woodmart/woocommerce/loop/pagination.php woodmart/woocommerce/loop/sale-flash.php /home/530166.cloudwaysapps.com/bgyktgcmud/public_html/wp-content/plugins/pb-add-on-woocommerce/templates/myaccount-edit-profile.php woodmart/woocommerce/myaccount/form-login.php woodmart/woocommerce/product-searchform.php woodmart/woocommerce/single-product/add-to-cart/grouped.php woodmart/woocommerce/single-product/add-to-cart/variable.php woodmart/woocommerce/single-product/meta.php woodmart/woocommerce/single-product/product-image.php woodmart/woocommerce/single-product/product-thumbnails.php woodmart/woocommerce/single-product/rating.php woodmart/woocommerce/single-product/related.php woodmart/woocommerce/single-product/sale-flash.php woodmart/woocommerce/single-product/tabs/tabs.php woodmart/woocommerce/single-product/title.php woodmart/woocommerce/single-product/up-sells.php woodmart/woocommerce/single-product.php ### WooCommerce Google Product Feed feeds ### 5b5694fd741c8a82: Google merchant centre product feed ??Type: google ??Category filter: - ??Categories: - ### WooCommerce Google Product Feed options ### Include variations in feed: Enabled Send "item group ID": Enabled Expanded schema markup: - Debug key: 2123f13d-1080-4feb-aae5-086bc6849d53 ### WooCommerce Google Product Feed fields ### Title: Pre-populates from product product_title. Availability (in stock products): Defaults to "in stock". Availability (backordered products): Defaults to "in stock". Availability (out of stock products): Defaults to "out of stock". Brand: Manufacturer Part Number (MPN): Product Type: Google Product Category: Size system: ### WooCommerce PayPal Payments ### Onboarded: Yes Shop country code: IT PayPal card processing available in country: Yes Pay Later messaging available in country: No Vault enabled: Yes ### Action Scheduler ### Canceled: 2 Oldest: 2021-09-20 13:49:16 +0200 Newest: 2021-09-23 17:28:12 +0200 Complete: 34.101 Oldest: 2021-09-09 15:30:48 +0200 Newest: 2021-10-08 12:10:20 +0200 Failed: 554 Oldest: 2021-09-15 23:10:20 +0200 Newest: 2021-10-08 03:10:19 +0200 In-progress: 1 Oldest: – Newest: – Pending: 11 Oldest: 2021-10-08 12:17:17 +0200 Newest: 2021-10-14 09:59:16 +0200 ### Status report information ### Generated at: 2021-10-08 12:14:46 +02:00
paypal express logs: 2021-10-08T07:23:01+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: de1ab458af7e8 Response: Array ( [code] => 200 [message] => OK ) 2021-10-08T07:23:01+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"437.60"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":" "},"address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"
],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"it-IT","brand_name":"Edil Service","return_url":"https:\/\/edilserviceitalia.it\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/edilserviceitalia.it\/checkout\/"},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
Response Debug ID: 96b7a6c4f9158
Response: Array
(
[code] => 201
[message] => Created
)2021-10-08T07:23:02+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/0KB1304605388870N
Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"437.60"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"Test test"},"address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"}},"custom_id":"eafcba-158713","invoice_id":"eafcba-158713"},"path":"\/purchase_units\/@reference_id=='default'"}]
Response Debug ID: 594d84592b3e6
Response: Array
(
[code] => 204
[message] => No Content
)2021-10-08T07:23:03+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/0KB1304605388870N
Response Debug ID: 8292842aa4d6d
Response: Array
(
[code] => 200
[message] => OK
)2021-10-08T07:23:56+00:00 ERROR Order creation failed: Could not validate nonce.
2021-10-08T07:29:28+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"479.28"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"Test test"},"address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"
],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"it-IT","brand_name":"Edil Service","return_url":"https:\/\/edilserviceitalia.it\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/edilserviceitalia.it\/checkout\/"},"payer":{"name":{"given_name":"Test","surname":"test"},"email_address":"[email protected]","address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"01234567890"}}},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
Response Debug ID: a27244498ed4c
Response: Array
(
[code] => 201
[message] => Created
)2021-10-08T07:29:29+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/369393570E6611310
Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"479.28"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"Test test"},"address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"}},"custom_id":"eafcba-158714","invoice_id":"eafcba-158714"},"path":"\/purchase_units\/@reference_id=='default'"}]
Response Debug ID: be894e7ee6b82
Response: Array
(
[code] => 204
[message] => No Content
)2021-10-08T07:29:29+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/369393570E6611310
Response Debug ID: 8e9c8beafd314
Response: Array
(
[code] => 200
[message] => OK
)2021-10-08T07:30:17+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"486.85"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"Test test"},"address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"it-IT","brand_name":"Edil Service","return_url":"https:\/\/edilserviceitalia.it\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/edilserviceitalia.it\/checkout\/"},"payer":{"name":{"given_name":"Test","surname":"test"},"email_address":"[email protected]","address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"01234567890"}}},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
Response Debug ID: 8603d566ed5e7
Response: Array
(
[code] => 201
[message] => Created
)2021-10-08T07:30:17+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/20M54082P7464191J
Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"486.85"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"Test test"},"address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"}},"custom_id":"eafcba-158715","invoice_id":"eafcba-158715"},"path":"\/purchase_units\/@reference_id=='default'"}]
Response Debug ID: c9e080304f0d2
Response: Array
(
[code] => 204
[message] => No Content
)2021-10-08T07:30:17+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/20M54082P7464191J
Response Debug ID: d0639a10d7bbe
Response: Array
(
[code] => 200
[message] => OK
)2021-10-08T07:32:09+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"10.81"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"Test test"},"address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"it-IT","brand_name":"Edil Service","return_url":"https:\/\/edilserviceitalia.it\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/edilserviceitalia.it\/checkout\/"},"payer":{"name":{"given_name":"Test","surname":"test"},"email_address":"[email protected]","address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"01234567890"}}},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
Response Debug ID: 95b4942061143
Response: Array
(
[code] => 201
[message] => Created
)2021-10-08T07:32:10+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/1S408862F3316694X
Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"10.81","breakdown":{"item_total":{"currency_code":"EUR","value":"1.86"},"shipping":{"currency_code":"EUR","value":"8.54"},"tax_total":{"currency_code":"EUR","value":"0.41"}}},"description":"","items":[{"name":"Cartuccia gas a forare unificata","unit_amount":{"currency_code":"EUR","value":"1.86"},"quantity":1,"description":"Nan","sku":"14445-FT","category":"PHYSICAL_GOODS","tax":{"currency_code":"EUR","value":"0.41"}}],"payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"Test test"},"address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"}},"custom_id":"eafcba-158716","invoice_id":"eafcba-158716"},"path":"\/purchase_units\/@reference_id=='default'"}]
Response Debug ID: d023858ad6298
Response: Array
(
[code] => 204
[message] => No Content
)2021-10-08T07:32:10+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/1S408862F3316694X
Response Debug ID: a1bb3fbcb91db
Response: Array
(
[code] => 200
[message] => OK
)2021-10-08T07:33:04+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"10.81"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"Test test"},"address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"it-IT","brand_name":"Edil Service","return_url":"https:\/\/edilserviceitalia.it\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/edilserviceitalia.it\/checkout\/"},"payer":{"name":{"given_name":"Test","surname":"test"},"email_address":"[email protected]","address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"01234567890"}}},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
Response Debug ID: 99789e7c3bea2
Response: Array
(
[code] => 201
[message] => Created
)2021-10-08T07:33:04+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/00412843V6741114A
Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"10.81","breakdown":{"item_total":{"currency_code":"EUR","value":"1.86"},"shipping":{"currency_code":"EUR","value":"8.54"},"tax_total":{"currency_code":"EUR","value":"0.41"}}},"description":"","items":[{"name":"Cartuccia gas a forare unificata","unit_amount":{"currency_code":"EUR","value":"1.86"},"quantity":1,"description":"Nan","sku":"14445-FT","category":"PHYSICAL_GOODS","tax":{"currency_code":"EUR","value":"0.41"}}],"payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"Test test"},"address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"}},"custom_id":"eafcba-158716","invoice_id":"eafcba-158716"},"path":"\/purchase_units\/@reference_id=='default'"}]
Response Debug ID: f58aa9f251726
Response: Array
(
[code] => 204
[message] => No Content
)2021-10-08T07:33:04+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/00412843V6741114A
Response Debug ID: 220386f485cc2
Response: Array
(
[code] => 200
[message] => OK
)2021-10-08T07:41:05+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"10.81"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"Test test"},"address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"it-IT","brand_name":"Edil Service","return_url":"https:\/\/edilserviceitalia.it\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/edilserviceitalia.it\/checkout\/"},"payer":{"name":{"given_name":"Test","surname":"test"},"email_address":"[email protected]","address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"01234567890"}}},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
Response Debug ID: 50c2a80c2251
Response: Array
(
[code] => 201
[message] => Created
)2021-10-08T07:41:05+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/2PJ36848SU2537914
Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"10.81","breakdown":{"item_total":{"currency_code":"EUR","value":"1.86"},"shipping":{"currency_code":"EUR","value":"8.54"},"tax_total":{"currency_code":"EUR","value":"0.41"}}},"description":"","items":[{"name":"Cartuccia gas a forare unificata","unit_amount":{"currency_code":"EUR","value":"1.86"},"quantity":1,"description":"Nan","sku":"14445-FT","category":"PHYSICAL_GOODS","tax":{"currency_code":"EUR","value":"0.41"}}],"payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"Test test"},"address":{"country_code":"IT","address_line_1":"test 12","address_line_2":"","admin_area_1":"VA","admin_area_2":"Test","postal_code":"12345"}},"custom_id":"eafcba-158716","invoice_id":"eafcba-158716"},"path":"\/purchase_units\/@reference_id=='default'"}]
Response Debug ID: 3b11e2a0fd16e
Response: Array
(
[code] => 204
[message] => No Content
)2021-10-08T07:41:06+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/2PJ36848SU2537914
Response Debug ID: 33b87344e96b3
Response: Array
(
[code] => 200
[message] => OK
)2021-10-08T09:09:21+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"5.88"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"micrfrfre rfrfrfrura"},"address":{"country_code":"IT","address_line_1":"via gagaguga","address_line_2":"","admin_area_1":"VA","admin_area_2":"Ternate","postal_code":"21020"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"it-IT","brand_name":"Edil Service","return_url":"https:\/\/edilserviceitalia.it\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/edilserviceitalia.it\/checkout\/"},"payer":{"name":{"given_name":"micrfrfre","surname":"rfrfrfrura"},"email_address":"[email protected]","address":{"country_code":"IT","address_line_1":"via gagaguga","address_line_2":"","admin_area_1":"VA","admin_area_2":"Ternate","postal_code":"21020"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"12345678"}}},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
Response Debug ID: 1c223bd681b73
Response: Array
(
[code] => 201
[message] => Created
)2021-10-08T09:09:22+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/53P388876L499032B
Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"5.88"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"micrfrfre rfrfrfrura"},"address":{"country_code":"IT","address_line_1":"via gagaguga","address_line_2":"","admin_area_1":"VA","admin_area_2":"Ternate","postal_code":"21020"}},"custom_id":"eafcba-158719","invoice_id":"eafcba-158719"},"path":"\/purchase_units\/@reference_id=='default'"}]
Response Debug ID: 9fd1b7988c4b
Response: Array
(
[code] => 204
[message] => No Content
)2021-10-08T09:09:22+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/53P388876L499032B
Response Debug ID: 5b776114786a9
Response: Array
(
[code] => 200
[message] => OK
)2021-10-08T09:09:38+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"5.88"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"micrfrfre rfrfrfrura"},"address":{"country_code":"IT","address_line_1":"via ddedgagaguga","address_line_2":"","admin_area_1":"VA","admin_area_2":"Ternate","postal_code":"21020"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"it-IT","brand_name":"Edil Service","return_url":"https:\/\/edilserviceitalia.it\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/edilserviceitalia.it\/checkout\/"},"payer":{"name":{"given_name":"micrdededfrfre","surname":"rfrfrdedefrura"},"email_address":"[email protected]","address":{"country_code":"IT","address_line_1":"via ddedgagaguga","address_line_2":"","admin_area_1":"VA","admin_area_2":"Ternate","postal_code":"21020"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"3312652326"}}},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
Response Debug ID: e5e58cba06a6a
Response: Array
(
[code] => 201
[message] => Created
)2021-10-08T09:09:39+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/9W1308236E2829504
Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"5.88"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"micrdededfrfre rfrfrdedefrura"},"address":{"country_code":"IT","address_line_1":"via ddedgagaguga","address_line_2":"","admin_area_1":"VA","admin_area_2":"Ternate","postal_code":"21020"}},"custom_id":"eafcba-158719","invoice_id":"eafcba-158719"},"path":"\/purchase_units\/@reference_id=='default'"}]
Response Debug ID: 35d629b935cd3
Response: Array
(
[code] => 204
[message] => No Content
)2021-10-08T09:09:39+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/9W1308236E2829504
Response Debug ID: d7583e721db8d
Response: Array
(
[code] => 200
[message] => OK
)2021-10-08T09:11:00+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"5.88"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"micrdededfrfre rfrfrdedefrura"},"address":{"country_code":"IT","address_line_1":"via ddedgagaguga","address_line_2":"","admin_area_1":"VA","admin_area_2":"Ternate","postal_code":"21020"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"it-IT","brand_name":"Edil Service","return_url":"https:\/\/edilserviceitalia.it\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/edilserviceitalia.it\/checkout\/"},"payer":{"name":{"given_name":"micrdededfrfre","surname":"rfrfrdedefrura"},"email_address":"[email protected]","address":{"country_code":"IT","address_line_1":"via ddedgagaguga","address_line_2":"","admin_area_1":"VA","admin_area_2":"Ternate","postal_code":"21020"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"3312652326"}}},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
Response Debug ID: 6eee9255a74df
Response: Array
(
[code] => 201
[message] => Created
)2021-10-08T09:11:01+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/77467203JL703630Y
Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"5.88"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"micrdededfrfre rfrfrdedefrura"},"address":{"country_code":"IT","address_line_1":"via ddedgagaguga","address_line_2":"","admin_area_1":"VA","admin_area_2":"Ternate","postal_code":"21020"}},"custom_id":"eafcba-158719","invoice_id":"eafcba-158719"},"path":"\/purchase_units\/@reference_id=='default'"}]
Response Debug ID: 6f1bc1613311f
Response: Array
(
[code] => 204
[message] => No Content
)2021-10-08T09:11:01+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/77467203JL703630Y
Response Debug ID: 44b9f329598db
Response: Array
(
[code] => 200
[message] => OK
)2021-10-08T09:12:34+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"7.36"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"micrdededfrfre rfrfrdedefrura"},"address":{"country_code":"IT","address_line_1":"via ddedgagaguga","address_line_2":"","admin_area_1":"VA","admin_area_2":"Ternate","postal_code":"21020"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"it-IT","brand_name":"Edil Service","return_url":"https:\/\/edilserviceitalia.it\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/edilserviceitalia.it\/checkout\/"},"payer":{"name":{"given_name":"micrdededfrfre","surname":"rfrfrdedefrura"},"email_address":"[email protected]","address":{"country_code":"IT","address_line_1":"via ddedgagaguga","address_line_2":"","admin_area_1":"VA","admin_area_2":"Ternate","postal_code":"21020"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"3312652326"}}},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
Response Debug ID: 9a75788d8171d
Response: Array
(
[code] => 201
[message] => Created
)2021-10-08T09:12:35+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/9VY07460NB737132D
Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"7.36","breakdown":{"item_total":{"currency_code":"EUR","value":"6.03"},"shipping":{"currency_code":"EUR","value":"0.00"},"tax_total":{"currency_code":"EUR","value":"1.33"}}},"description":"","items":[{"name":"Tassello fischer s 6 k blister","unit_amount":{"currency_code":"EUR","value":"1.87"},"quantity":1,"description":"","sku":"53789","category":"PHYSICAL_GOODS","tax":{"currency_code":"EUR","value":"0.41"}},{"name":"Cartuccia gas a forare unificata","unit_amount":{"currency_code":"EUR","value":"1.86"},"quantity":1,"description":"Nan","sku":"14445-FT","category":"PHYSICAL_GOODS","tax":{"currency_code":"EUR","value":"0.41"}},{"name":"Porta sapone linea parigi - Tortora","unit_amount":{"currency_code":"EUR","value":"2.30"},"quantity":1,"description":"","sku":"121-R303-TO","category":"PHYSICAL_GOODS","tax":{"currency_code":"EUR","value":"0.51"}}],"payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"micrdededfrfre rfrfrdedefrura"},"address":{"country_code":"IT","address_line_1":"via ddedgagaguga","address_line_2":"","admin_area_1":"VA","admin_area_2":"Ternate","postal_code":"21020"}},"custom_id":"eafcba-158720","invoice_id":"eafcba-158720"},"path":"\/purchase_units\/@reference_id=='default'"}]
Response Debug ID: 4d2775f60ac59
Response: Array
(
[code] => 204
[message] => No Content
)2021-10-08T09:12:35+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/9VY07460NB737132D
Response Debug ID: 5b30eede399e3
Response: Array
(
[code] => 200
[message] => OK
)2021-10-08T09:15:03+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"1.32"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":" "},"address":{"country_code":"IT","address_line_1":"via ciao 2","address_line_2":"","admin_area_1":"VA","admin_area_2":"comabbi","postal_code":"21020"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"it-IT","brand_name":"Edil Service","return_url":"https:\/\/edilserviceitalia.it\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/edilserviceitalia.it\/checkout\/"},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
Response Debug ID: e0b15765f7ff4
Response: Array
(
[code] => 201
[message] => Created
)2021-10-08T09:15:04+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/8CP92087P54322235
Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"1.32"},"description":"","payee":{"merchant_id":"782LV6TNDZJVC"},"shipping":{"name":{"full_name":"edfggggg eeeee"},"address":{"country_code":"IT","address_line_1":"via ciao 2","address_line_2":"","admin_area_1":"VA","admin_area_2":"comabbi","postal_code":"21020"}},"custom_id":"eafcba-158721","invoice_id":"eafcba-158721"},"path":"\/purchase_units\/@reference_id=='default'"}]
Response Debug ID: 56950a557f8e7
Response: Array
(
[code] => 204
[message] => No Content
)2021-10-08T09:15:05+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/8CP92087P54322235
Response Debug ID: 5222c1fae050d
Response: Array
(
[code] => 200
[message] => OK
)}}}
Hello @mikemike1234
the logs you sent show me the error “Could not validate nonce”, which is an identified issue that we are working on resolved asap. This could possibly be resolved by deactivating “Allow customers to place orders without an account”. You should be able to find this under WooCommerce > Settings > Accounts & Privacy.
After reviewing your logs I also checked your website again and for me it still does not make a difference if I create an order with or without the coupon. I get the error “Something went wrong. Please try again or choose another payment source.”.
So I still don’t think the coupon has any effect on this situation.
I did see in the console the error concerning “Unexpected token” which is also something we are working on, but can’t provide any workaround for that. I am hoping the nonce issue will be the same cause as for this one.Please let me know if that setting possibly resolves your issue.
Have a nice weekend,
Joost“Allow customers to place orders without an account” is already deactivated. So, I basically can’t do nothing right now, can I?
you could try to change the setting:
– When creating an account, automatically generate an account username for the customer based on their name, surname or email
– When creating an account, automatically generate an account passwordBut yes, we probably won’t get a solution for this until our developers got it covered in the release.
Kind regards,
JoostHello, is there any news on this? After the last plugin update i’m still getting the same error using coupon codes.
Hello @mikemike1234
the last update (1.6.1) was a hotfix for a critical issue we were seeing after the 1.6.0 release. The fix for this issue is still in progress and we expect it to be included in the next release. Sorry to keep you waiting.Kind regards,
Joost
- The topic ‘Error with payments using coupon code’ is closed to new replies.