• Resolved adebolaadewusi

    (@adebolaadewusi)


    Hello
    I configured the Plugin to show in the Cart. However Paypal button is not rendered.
    Woocommerce Version 7.0.1 and WordPress version Current version: 6.1

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

    (@mrclayton)

    Hi @adebolaadewusi

    Displaying PayPal in the mini-cart depends heavily on what 3rd party plugin/theme you’re using if any, to display the mini-cart. Many plugins/themes don’t follow the WooCommerce standard for displaying the mini-cart.

    Can you please provide what plugin/theme you’re using for your mini-cart?

    Also a link to a website would be helpful.

    Thanks,

    Thread Starter adebolaadewusi

    (@adebolaadewusi)

    Thanks for the feedback. Quickly going over the issue,
    My website does not use the standard Paypal currency. I use UAE Dirhams.
    To handle the conversion (otherwise I was getting currency not supported error) I used the plugin –
    Payment Gateway Currency for WooCommerce Pro
    –Version 3.5.0 | By WPFactory
    The plugin that did not display Paypal in Check-out is-
    Payment Plugins for PayPal WooCommerce
    By Payment Plugins, [email protected]

    I have moved on to Woocommerce’s plugin which displayed the Paypal and Card Payment-
    WooCommerce PayPal Payments
    Version 1.9.5
    However, in both Sandbox and Live mode, order gets completed without error, but the payment is not reflected anywhere.
    Website link is https://www.natures-key.com

    Any help is appreciated

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @adebolaadewusi

    I have moved on to Woocommerce’s plugin which displayed the Paypal and Card Payment-
    WooCommerce PayPal Payments

    This is the support forum for Payment Plugins for PayPal WooCommerce. You stated you have switched to the WooCommerce PayPal Payments plugin, so I recommend you reach out to them for support with your issue of payments not being reflected anywhere.

    We can’t help you with a plugin we didn’t create.

    Thanks,

    Thread Starter adebolaadewusi

    (@adebolaadewusi)

    Hello
    I understand that but switching was to compare the behavior of both plugins.
    Appreciate support on how to setup your plugin-
    Considering the currency is AED (Non-Paypal currency)

    Payment Plugins for PayPal WooCommerce
    By Payment Plugins, [email protected]

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @adebolaadewusi

    Can you navigate to the WooCommerce > Status > Logs page and find the “wc-ppcp” log file? That information will contain any failed API requests made to PayPal and will be helpful to review.

    You don’t currently appear to have any PayPal plugins enabled on the site you provided a link to.

    Thanks,

    Thread Starter adebolaadewusi

    (@adebolaadewusi)

    I have enabled the plugin on the website, it mentions Pay with paypal but usually does not display the Paypal button.do let me know if you require access to the backend.
    Please see the logs;

    
    2022-11-05T10:23:58+00:00 ERROR API error: Array
    (
        [url] => https://api-m.sandbox.paypal.com/v1/notifications/webhooks/3WJ01562KT346754U
        [method] => delete
        [request] => 
        [error] => Array
            (
                [name] => INVALID_RESOURCE_ID
                [message] => Resource id is invalid
                [debug_id] => cb6a72b2c178a
                [information_link] => https://developer.paypal.com/docs/api/webhooks/#errors
                [details] => Array
                    (
                    )
    
                [links] => Array
                    (
                    )
    
            )
    
    )
    
    2022-11-05T10:23:58+00:00 ERROR API error: Array
    (
        [url] => https://api-m.sandbox.paypal.com/v1/notifications/webhooks
        [method] => POST
        [request] => Array
    (
        [url] => https://www.natures-key.com/wp-json/wc-ppcp/v1/webhook/sandbox
        [event_types] => Array
            (
                [0] => Array
                    (
                        [name] => PAYMENT.CAPTURE.COMPLETED
                    )
    
                [1] => Array
                    (
                        [name] => CHECKOUT.ORDER.APPROVED
                    )
    
                [2] => Array
                    (
                        [name] => CHECKOUT.ORDER.PROCESSED
                    )
    
                [3] => Array
                    (
                        [name] => PAYMENT.CAPTURE.REFUNDED
                    )
    
            )
    
    )
    
        [error] => Array
            (
                [name] => WEBHOOK_URL_ALREADY_EXISTS
                [message] => Webhook URL already exists
                [debug_id] => 52fb4282acf46
                [information_link] => https://developer.paypal.com/docs/api/webhooks/#errors
                [details] => Array
                    (
                    )
    
                [links] => Array
                    (
                    )
    
            )
    
    )
    
    2022-11-05T10:26:41+00:00 ERROR API error: Array
    (
        [url] => https://api-m.sandbox.paypal.com/v1/notifications/webhooks/3WJ01562KT346754U
        [method] => delete
        [request] => 
        [error] => Array
            (
                [name] => INVALID_RESOURCE_ID
                [message] => Resource id is invalid
                [debug_id] => 2ef4cae7f4361
                [information_link] => https://developer.paypal.com/docs/api/webhooks/#errors
                [details] => Array
                    (
                    )
    
                [links] => Array
                    (
                    )
    
            )
    
    )
    
    --------------------------------------------------------------------------------
    
    2022-11-03T11:30:46+00:00 ERROR API error: Array
    (
        [url] => https://api-m.paypal.com/v2/checkout/orders
        [method] => POST
        [request] => PaymentPlugins\PayPalSDK\Order Object
    (
        [_values:protected] => Array
            (
                [intent] => CAPTURE
                [payer] => PaymentPlugins\PayPalSDK\Payer Object
                    (
                        [_values:protected] => Array
                            (
                                [name] => PaymentPlugins\PayPalSDK\Name Object
                                    (
                                        [_values:protected] => Array
                                            (
                                                [given_name] => Adebola
                                                [surname] => Adewusi
                                            )
    
                                        [mappings:protected] => Array
                                            (
                                            )
    
                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                    )
    
                                [address] => PaymentPlugins\PayPalSDK\Address Object
                                    (
                                        [_values:protected] => Array
                                            (
                                                [address_line_1] => Dubai Internet City
                                                [address_line_2] => TECOM
                                                [admin_area_1] => UAE
                                                [admin_area_2] => Dubai
                                                [postal_code] => 
                                                [country_code] => AE
                                            )
    
                                        [mappings:protected] => Array
                                            (
                                            )
    
                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                    )
    
                            )
    
                        [mappings:protected] => Array
                            (
                            )
    
                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                    )
    
                [application_context] => PaymentPlugins\PayPalSDK\OrderApplicationContext Object
                    (
                        [_values:protected] => Array
                            (
                                [shipping_preference] => GET_FROM_FILE
                                [brand_name] => Nature's Key
                            )
    
                        [mappings:protected] => Array
                            (
                            )
    
                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                    )
    
                [purchase_units] => PaymentPlugins\PayPalSDK\Collection Object
                    (
                        [_values:protected] => Array
                            (
                                [0] => PaymentPlugins\PayPalSDK\PurchaseUnit Object
                                    (
                                        [_values:protected] => Array
                                            (
                                                [amount] => PaymentPlugins\PayPalSDK\Amount Object
                                                    (
                                                        [_values:protected] => Array
                                                            (
                                                                [value] => 3.92
                                                                [currency_code] => USD
                                                                [breakdown] => PaymentPlugins\PayPalSDK\Breakdown Object
                                                                    (
                                                                        [_values:protected] => Array
                                                                            (
                                                                                [item_total] => PaymentPlugins\PayPalSDK\Money Object
                                                                                    (
                                                                                        [_values:protected] => Array
                                                                                            (
                                                                                                [currency_code] => USD
                                                                                                [value] => 9.15
                                                                                            )
    
                                                                                        [mappings:protected] => Array
                                                                                            (
                                                                                            )
    
                                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                    )
    
                                                                                [shipping] => PaymentPlugins\PayPalSDK\Amount Object
                                                                                    (
                                                                                        [_values:protected] => Array
                                                                                            (
                                                                                                [currency_code] => USD
                                                                                                [value] => 3.92
                                                                                            )
    
                                                                                        [mappings:protected] => Array
                                                                                            (
                                                                                            )
    
                                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                    )
    
                                                                                [tax_total] => PaymentPlugins\PayPalSDK\Money Object
                                                                                    (
                                                                                        [_values:protected] => Array
                                                                                            (
                                                                                                [value] => 0.00
                                                                                                [currency_code] => USD
                                                                                            )
    
                                                                                        [mappings:protected] => Array
                                                                                            (
                                                                                            )
    
                                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                    )
    
                                                                                [discount] => PaymentPlugins\PayPalSDK\Money Object
                                                                                    (
                                                                                        [_values:protected] => Array
                                                                                            (
                                                                                                [value] => 18.30
                                                                                                [currency_code] => USD
                                                                                            )
    
                                                                                        [mappings:protected] => Array
                                                                                            (
                                                                                            )
    
                                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                    )
    
                                                                                [handling] => PaymentPlugins\PayPalSDK\Money Object
                                                                                    (
                                                                                        [_values:protected] => Array
                                                                                            (
                                                                                                [currency_code] => USD
                                                                                                [value] => 0.00
                                                                                            )
    
                                                                                        [mappings:protected] => Array
                                                                                            (
                                                                                            )
    
                                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                    )
    
                                                                            )
    
                                                                        [mappings:protected] => Array
                                                                            (
                                                                            )
    
                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                    )
    
                                                            )
    
                                                        [mappings:protected] => Array
                                                            (
                                                            )
    
                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                    )
    
                                                [items] => PaymentPlugins\PayPalSDK\Collection Object
                                                    (
                                                        [_values:protected] => Array
                                                            (
                                                                [0] => PaymentPlugins\PayPalSDK\Item Object
                                                                    (
                                                                        [_values:protected] => Array
                                                                            (
                                                                                [name] => Rice bran Wax - 100gm
                                                                                [quantity] => 2
                                                                                [unit_amount] => PaymentPlugins\PayPalSDK\Money Object
                                                                                    (
                                                                                        [_values:protected] => Array
                                                                                            (
                                                                                                [currency_code] => USD
                                                                                                [value] => 4.57
                                                                                            )
    
                                                                                        [mappings:protected] => Array
                                                                                            (
                                                                                            )
    
                                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                    )
    
                                                                            )
    
                                                                        [mappings:protected] => Array
                                                                            (
                                                                            )
    
                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                    )
    
                                                                [1] => PaymentPlugins\PayPalSDK\Item Object
                                                                    (
                                                                        [_values:protected] => Array
                                                                            (
                                                                                [name] => Reconciliation
                                                                                [quantity] => 1
                                                                                [unit_amount] => PaymentPlugins\PayPalSDK\Money Object
                                                                                    (
                                                                                        [_values:protected] => Array
                                                                                            (
                                                                                                [currency_code] => USD
                                                                                                [value] => 0.01
                                                                                            )
    
                                                                                        [mappings:protected] => Array
                                                                                            (
                                                                                            )
    
                                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                    )
    
                                                                            )
    
                                                                        [mappings:protected] => Array
                                                                            (
                                                                            )
    
                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                    )
    
                                                            )
    
                                                        [mappings:protected] => Array
                                                            (
                                                            )
    
                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                    )
    
                                                [shipping] => PaymentPlugins\PayPalSDK\Shipping Object
                                                    (
                                                        [_values:protected] => Array
                                                            (
                                                                [name] => PaymentPlugins\PayPalSDK\Name Object
                                                                    (
                                                                        [_values:protected] => Array
                                                                            (
                                                                                [full_name] => Adebola Adewusi
                                                                            )
    
                                                                        [mappings:protected] => Array
                                                                            (
                                                                            )
    
                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                    )
    
                                                                [address] => PaymentPlugins\PayPalSDK\Address Object
                                                                    (
                                                                        [_values:protected] => Array
                                                                            (
                                                                                [address_line_1] => Dubai Internet City
                                                                                [address_line_2] => TECOM
                                                                                [admin_area_1] => UAE
                                                                                [admin_area_2] => Dubai
                                                                                [postal_code] => 
                                                                                [country_code] => AE
                                                                            )
    
                                                                        [mappings:protected] => Array
                                                                            (
                                                                            )
    
                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                    )
    
                                                            )
    
                                                        [mappings:protected] => Array
                                                            (
                                                            )
    
                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                    )
    
                                            )
    
                                        [mappings:protected] => Array
                                            (
                                            )
    
                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                    )
    
                            )
    
                        [mappings:protected] => Array
                            (
                            )
    
                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                    )
    
            )
    
        [mappings:protected] => Array
            (
            )
    
        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
    )
    
        [error] => Array
            (
                [name] => UNPROCESSABLE_ENTITY
                [details] => Array
                    (
                        [0] => Array
                            (
                                [field] => /purchase_units/@reference_id=='default'/amount/value
                                [value] => 3.92
                                [issue] => AMOUNT_MISMATCH
                                [description] => Should equal item_total + tax_total + shipping + handling + insurance - shipping_discount - discount.
                            )
    
                    )
    
                [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
                [debug_id] => 7cc3c9cc59009
                [links] => Array
                    (
                        [0] => Array
                            (
                                [href] => https://developer.paypal.com/docs/api/orders/v2/#error-AMOUNT_MISMATCH
                                [rel] => information_link
                                [method] => GET
                            )
    
                    )
    
            )
    
    )
    
    2022-11-03T11:30:46+00:00 ERROR Error creating PayPal order. Msg:Should equal item_total + tax_total + shipping + handling + insurance - shipping_discount - discount. Params: Array
    (
        [intent] => CAPTURE
        [payer] => Array
            (
                [name] => Array
                    (
                        [given_name] => Adebola
                        [surname] => Adewusi
                    )
    
                [address] => Array
                    (
                        [address_line_1] => Dubai Internet City
                        [address_line_2] => TECOM
                        [admin_area_1] => UAE
                        [admin_area_2] => Dubai
                        [postal_code] => 
                        [country_code] => AE
                    )
    
            )
    
        [application_context] => Array
            (
                [shipping_preference] => GET_FROM_FILE
                [brand_name] => Nature's Key
            )
    
        [purchase_units] => Array
            (
                [0] => Array
                    (
                        [amount] => Array
                            (
                                [value] => 3.92
                                [currency_code] => USD
                                [breakdown] => Array
                                    (
                                        [item_total] => Array
                                            (
                                                [currency_code] => USD
                                                [value] => 9.15
                                            )
    
                                        [shipping] => Array
                                            (
                                                [currency_code] => USD
                                                [value] => 3.92
                                            )
    
                                        [tax_total] => Array
                                            (
                                                [value] => 0.00
                                                [currency_code] => USD
                                            )
    
                                        [discount] => Array
                                            (
                                                [value] => 18.30
                                                [currency_code] => USD
                                            )
    
                                        [handling] => Array
                                            (
                                                [currency_code] => USD
                                                [value] => 0.00
                                            )
    
                                    )
    
                            )
    
                        [items] => Array
                            (
                                [0] => Array
                                    (
                                        [name] => Rice bran Wax - 100gm
                                        [quantity] => 2
                                        [unit_amount] => Array
                                            (
                                                [currency_code] => USD
                                                [value] => 4.57
                                            )
    
                                    )
    
                                [1] => Array
                                    (
                                        [name] => Reconciliation
                                        [quantity] => 1
                                        [unit_amount] => Array
                                            (
                                                [currency_code] => USD
                                                [value] => 0.01
                                            )
    
                                    )
    
                            )
    
                        [shipping] => Array
                            (
                                [name] => Array
                                    (
                                        [full_name] => Adebola Adewusi
                                    )
    
                                [address] => Array
                                    (
                                        [address_line_1] => Dubai Internet City
                                        [address_line_2] => TECOM
                                        [admin_area_1] => UAE
                                        [admin_area_2] => Dubai
                                        [postal_code] => 
                                        [country_code] => AE
                                    )
    
                            )
    
                    )
    
            )
    
    )
    
    2022-11-03T11:37:36+00:00 ERROR API error: Array
    (
        [url] => https://api-m.paypal.com/v2/checkout/orders
        [method] => POST
        [request] => PaymentPlugins\PayPalSDK\Order Object
    (
        [_values:protected] => Array
            (
                [intent] => CAPTURE
                [payer] => PaymentPlugins\PayPalSDK\Payer Object
                    (
                        [_values:protected] => Array
                            (
                                [name] => PaymentPlugins\PayPalSDK\Name Object
                                    (
                                        [_values:protected] => Array
                                            (
                                                [given_name] => Adebola
                                                [surname] => Adewusi
                                            )
    
                                        [mappings:protected] => Array
                                            (
                                            )
    
                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                    )
    
                                [address] => PaymentPlugins\PayPalSDK\Address Object
                                    (
                                        [_values:protected] => Array
                                            (
                                                [address_line_1] => Dubai Internet City
                                                [address_line_2] => TECOM
                                                [admin_area_1] => UAE
                                                [admin_area_2] => Dubai
                                                [postal_code] => 
                                                [country_code] => AE
                                            )
    
                                        [mappings:protected] => Array
                                            (
                                            )
    
                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                    )
    
                                [email_address] => {redacted for privacy by moderator}
                            )
    
                        [mappings:protected] => Array
                            (
                            )
    
                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                    )
    
                [application_context] => PaymentPlugins\PayPalSDK\OrderApplicationContext Object
                    (
                        [_values:protected] => Array
                            (
                                [shipping_preference] => GET_FROM_FILE
                                [brand_name] => Nature's Key
                            )
    
                        [mappings:protected] => Array
                            (
                            )
    
                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                    )
    
                [purchase_units] => PaymentPlugins\PayPalSDK\Collection Object
                    (
                        [_values:protected] => Array
                            (
                                [0] => PaymentPlugins\PayPalSDK\PurchaseUnit Object
                                    (
                                        [_values:protected] => Array
                                            (
                                                [amount] => PaymentPlugins\PayPalSDK\Amount Object
                                                    (
                                                        [_values:protected] => Array
                                                            (
                                                                [value] => 15.00
                                                                [currency_code] => AED
                                                                [breakdown] => PaymentPlugins\PayPalSDK\Breakdown Object
                                                                    (
                                                                        [_values:protected] => Array
                                                                            (
                                                                                [item_total] => PaymentPlugins\PayPalSDK\Money Object
                                                                                    (
                                                                                        [_values:protected] => Array
                                                                                            (
                                                                                                [currency_code] => AED
                                                                                                [value] => 17.50
                                                                                            )
    
                                                                                        [mappings:protected] => Array
                                                                                            (
                                                                                            )
    
                                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                    )
    
                                                                                [shipping] => PaymentPlugins\PayPalSDK\Amount Object
                                                                                    (
                                                                                        [_values:protected] => Array
                                                                                            (
                                                                                                [currency_code] => AED
                                                                                                [value] => 15.00
                                                                                            )
    
                                                                                        [mappings:protected] => Array
                                                                                            (
                                                                                            )
    
                                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                    )
    
                                                                                [tax_total] => PaymentPlugins\PayPalSDK\Money Object
                                                                                    (
                                                                                        [_values:protected] => Array
                                                                                            (
                                                                                                [value] => 0.00
                                                                                                [currency_code] => AED
                                                                                            )
    
                                                                                        [mappings:protected] => Array
                                                                                            (
                                                                                            )
    
                                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                    )
    
                                                                                [discount] => PaymentPlugins\PayPalSDK\Money Object
                                                                                    (
                                                                                        [_values:protected] => Array
                                                                                            (
                                                                                                [value] => 35.00
                                                                                                [currency_code] => AED
                                                                                            )
    
                                                                                        [mappings:protected] => Array
                                                                                            (
                                                                                            )
    
                                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                    )
    
                                                                                [handling] => PaymentPlugins\PayPalSDK\Money Object
                                                                                    (
                                                                                        [_values:protected] => Array
                                                                                            (
                                                                                                [currency_code] => AED
                                                                                                [value] => 17.50
                                                                                            )
    
                                                                                        [mappings:protected] => Array
                                                                                            (
                                                                                            )
    
                                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                    )
    
                                                                            )
    
                                                                        [mappings:protected] => Array
                                                                            (
                                                                            )
    
                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                    )
    
                                                            )
    
                                                        [mappings:protected] => Array
                                                            (
                                                            )
    
                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                    )
    
                                                [items] => PaymentPlugins\PayPalSDK\Collection Object
                                                    (
                                                        [_values:protected] => Array
                                                            (
                                                                [0] => PaymentPlugins\PayPalSDK\Item Object
                                                                    (
                                                                        [_values:protected] => Array
                                                                            (
                                                                                [name] => Rice bran Wax - 100gm
                                                                                [quantity] => 1
                                                                                [unit_amount] => PaymentPlugins\PayPalSDK\Money Object
                                                                                    (
                                                                                        [_values:protected] => Array
                                                                                            (
                                                                                                [currency_code] => AED
                                                                                                [value] => 17.50
                                                                                            )
    
                                                                                        [mappings:protected] => Array
                                                                                            (
                                                                                            )
    
                                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                                    )
    
                                                                            )
    
                                                                        [mappings:protected] => Array
                                                                            (
                                                                            )
    
                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                    )
    
                                                            )
    
                                                        [mappings:protected] => Array
                                                            (
                                                            )
    
                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                    )
    
                                                [shipping] => PaymentPlugins\PayPalSDK\Shipping Object
                                                    (
                                                        [_values:protected] => Array
                                                            (
                                                                [name] => PaymentPlugins\PayPalSDK\Name Object
                                                                    (
                                                                        [_values:protected] => Array
                                                                            (
                                                                                [full_name] => Adebola Adewusi
                                                                            )
    
                                                                        [mappings:protected] => Array
                                                                            (
                                                                            )
    
                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                    )
    
                                                                [address] => PaymentPlugins\PayPalSDK\Address Object
                                                                    (
                                                                        [_values:protected] => Array
                                                                            (
                                                                                [address_line_1] => Dubai Internet City
                                                                                [address_line_2] => TECOM
                                                                                [admin_area_1] => UAE
                                                                                [admin_area_2] => Dubai
                                                                                [postal_code] => 
                                                                                [country_code] => AE
                                                                            )
    
                                                                        [mappings:protected] => Array
                                                                            (
                                                                            )
    
                                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                                    )
    
                                                            )
    
                                                        [mappings:protected] => Array
                                                            (
                                                            )
    
                                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                                    )
    
                                            )
    
                                        [mappings:protected] => Array
                                            (
                                            )
    
                                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                                    )
    
                            )
    
                        [mappings:protected] => Array
                            (
                            )
    
                        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
                    )
    
            )
    
        [mappings:protected] => Array
            (
            )
    
        [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
        [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
    )
    
        [error] => Array
            (
                [name] => UNPROCESSABLE_ENTITY
                [details] => Array
                    (
                        [0] => Array
                            (
                                [location] => body
                                [issue] => CURRENCY_NOT_SUPPORTED
                                [description] => Currency code is not currently supported. Please refer https://developer.paypal.com/docs/integration/direct/rest/currency-codes/ for list of supported currency codes.
                            )
    
                    )
    
                [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
                [debug_id] => 9f11660d44793
                [links] => Array
                    (
                        [0] => Array
                            (
                                [href] => https://developer.paypal.com/docs/api/orders/v2/#error-CURRENCY_NOT_SUPPORTED
                                [rel] => information_link
                                [method] => GET
                            )
    
                    )
    
            )
    
    )
    
    2022-11-03T11:37:36+00:00 ERROR Error creating PayPal order. Msg:Currency code is not currently supported. Please refer https://developer.paypal.com/docs/integration/direct/rest/currency-codes/ for list of supported currency codes. Params: Array
    (
        [intent] => CAPTURE
        [payer] => Array
            (
                [name] => Array
                    (
                        [given_name] => Adebola
                        [surname] => Adewusi
                    )
    
                [address] => Array
                    (
                        [address_line_1] => Dubai Internet City
                        [address_line_2] => TECOM
                        [admin_area_1] => UAE
                        [admin_area_2] => Dubai
                        [postal_code] => 
                        [country_code] => AE
                    )
    
                [email_address] => [email protected]
            )
    
        [application_context] => Array
            (
                [shipping_preference] => GET_FROM_FILE
                [brand_name] => Nature's Key
            )
    
        [purchase_units] => Array
            (
                [0] => Array
                    (
                        [amount] => Array
                            (
                                [value] => 15.00
                                [currency_code] => AED
                                [breakdown] => Array
                                    (
                                        [item_total] => Array
                                            (
                                                [currency_code] => AED
                                                [value] => 17.50
                                            )
    
                                        [shipping] => Array
                                            (
                                                [currency_code] => AED
                                                [value] => 15.00
                                            )
    
                                        [tax_total] => Array
                                            (
                                                [value] => 0.00
                                                [currency_code] => AED
                                            )
    
                                        [discount] => Array
                                            (
                                                [value] => 35.00
                                                [currency_code] => AED
                                            )
    
                                        [handling] => Array
                                            (
                                                [currency_code] => AED
                                                [value] => 17.50
                                            )
    
                                    )
    
                            )
    
                        [items] => Array
                            (
                                [0] => Array
                                    (
                                        [name] => Rice bran Wax - 100gm
                                        [quantity] => 1
                                        [unit_amount] => Array
                                            (
                                                [currency_code] => AED
                                                [value] => 17.50
                                            )
    
                                    )
    
                            )
    
                        [shipping] => Array
                            (
                                [name] => Array
                                    (
                                        [full_name] => Adebola Adewusi
                                    )
    
                                [address] => Array
                                    (
                                        [address_line_1] => Dubai Internet City
                                        [address_line_2] => TECOM
                                        [admin_area_1] => UAE
                                        [admin_area_2] => Dubai
                                        [postal_code] => 
                                        [country_code] => AE
                                    )
    
                            )
    
                    )
    
            )
    
    )
    
    • This reply was modified 2 years, 4 months ago by Yui.
    • This reply was modified 2 years, 4 months ago by Yui. Reason: formatting
    • This reply was modified 2 years, 4 months ago by Yui.
    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @adebolaadewusi

    Thank you for those log files. Somehow your cart total is showing $3.92 but the items have totals that are greater than that which is causing the mis-match.

    Please contact us here and we can help you troubleshoot why the cart total doesn’t appear to be accurate.

    Kind Regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Paypal Payment Method not appearing’ is closed to new replies.