Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello, I am experiencing this same issue as point 3) in this thread

    3) I’ve updated my phpversion through the cpanel but the PHP version setting says:

    “YOU ARE CURRENTLY RUNNING ON PHP 0.”

    When I selected “Set Manual PHP Version”, the second drop down menu of ‘Please Select PHP version” says “Nothing was found”.” So I can’t use it.

    Please let me know how to proceed with these issues.

    I’ve updated to the latest plugin version.

    In fact the plugin doesn’t work at all. It doesn’t allow any options to be selected.

    It works correctly for one site but another site with subdomain it doesn’t work. Please advise any suggestions on how to proceed.

    Hi,

    I tried this fix however it still doesn’t show the CF7 reCaptcha when this plugins reCaptcha is being displayed on the same page.

    Any suggestions?

    Thank you 🙂

    Thread Starter nr123

    (@nr123)

    Thank you for your consideration.

    Thread Starter nr123

    (@nr123)

    Hello, thank you for the reply.

    If the Stripe Checkout is implemented as per the Stripe documentation : https://stripe.com/docs/checkout/tutorial , a Customer record is not created in the Stripe system nor is the saving of their credit card details. This seems logical as the client does not indicate they would like them saved.

    However the standard Stripe Checkout implementation for non-subscription payments in your plugin does create a Customer Record and save the client credit card details. So presuming the Customer Record & credit card saving is being created by this plugins own code.

    Would also presume that most clients wouldn’t be happy that their Credit Card details were being saved against their name in a Merchant Facility without their prior agreement to save them. This is what is being referred to as a possible compliance/security issue.

    Is it possible for your plugin to not save the credit details against a Customer Record if your plugin is being used for non-subscription payments? Or at least provide an option for it to be disabled in the plugin should users of your plugin feel this is a compliance/security issue?

    Thank you for you consideration.

    • This reply was modified 8 years, 11 months ago by nr123. Reason: clarity
    Thread Starter nr123

    (@nr123)

    Hello, thank you for the reply.

    Was hoping to use your plugin for the Stripe Variable Price ability as outlined in their documentation : https://stripe.com/docs/recipes/variable-amount-checkout

    Your article on Accepting Donations section “Allow the Visitor to Specify a Custom Donation Amount” provides instructions on how to achieve this : https://www.tipsandtricks-hq.com/how-to-accept-donation-via-stripe-from-your-wordpress-site-easily-7811

    Your article clearly indicates “Do not use the “price” parameter in the stripe payments shortcode to allow the visitors to enter a custom amount.”

    And on the WordPress plugin description page the plugin clearly states the following feature : “Option to accept custom donation amount via Stripe payment gateway.”

    Has this feature been removed from your plugin?

    If the feature is still available on your plugin can you please advise how to activate it other than to correct the code as outlined in a previous response.

    Thank you.

    Thread Starter nr123

    (@nr123)

    Thank you, only just saw your reply.

    Hope the solution above is simple for them to implement.

    Thank you.

    Thread Starter nr123

    (@nr123)

    Hello, it is definately a plugin coding issues.

    Here is a proposed workable solution.

    Change, ..\stripe-payments\public\includes\class-shortcode-asp.php
    Line 265 to 275

    if (!is_numeric($item_price)) {
    <strong> echo (‘Invalid item price’);</strong>
    return;
    }
    if ($item_price == 0) { //Custom amount
    $item_price = floatval($_POST[‘stripeAmount’]);
    if (!is_numeric($item_price)) {
    <strong> echo (‘Invalid item price’);</strong>
    return;
    }
    }

    Change it to this code :

    if (!is_numeric($item_price)) {
                $item_price = floatval($_POST['stripeAmount']);
                if (!is_numeric($item_price)) {
                    echo ('Invalid item price');
                    return;
                }
            }

    Also uncomment Line 262 :

    $item_price = sanitize_text_field($_POST['item_price']);

    And comment Line 264 :

    $item_price = get_transient($trans_name); //Read the price for this item from the system.

    [Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]

    Are you able to make these changes to the plugin on its next update? Or at least correct the issue in your own way so that myself and others don’t have the same repeat issue on any plugin updates?

    Thank you for your time and creating a great plugin 🙂

    • This reply was modified 8 years, 12 months ago by bdbrown.
    Thread Starter nr123

    (@nr123)

    Hello, thank you for checking the website.

    The returned error message is not a Stripe error message.

    The “Invalid item price” is being generated by the plugin code itself.

    Specifically, ..\stripe-payments\public\includes\class-shortcode-asp.php
    Line 265 to 275

            if (!is_numeric($item_price)) {
               <strong> echo ('Invalid item price');</strong>
                return;
            }
            if ($item_price == 0) { //Custom amount
                $item_price = floatval($_POST['stripeAmount']);
                if (!is_numeric($item_price)) {
                   <strong> echo ('Invalid item price');</strong>
                    return;
                }
            }

    [Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]

    On checking the logs in the Stripe website admin interface it shows the session token as successful however there is no attempt to send the charge transaction through to Stripe.

    On checking the plugin code, this plugin error message returns before even the Charge transaction to Stripe takes place.

    Are you able to assist in correcting this issue?

    Thank you kindly.

    • This reply was modified 8 years, 12 months ago by bdbrown.
    • This reply was modified 8 years, 12 months ago by bdbrown.
    Thread Starter nr123

    (@nr123)

    Thank you. I private messaged you the URL on your mbrsolution profile website facebook page. Looking forward to hearing back from you. Thank you 🙂

    Thread Starter nr123

    (@nr123)

    Hello, thank you for the prompt response.

    For the “Invalid item price” error, yes have disabled all cache/optimisation plugins and have tried Live mode, the error still persists.

    For the logoUrl error, this one is now fixed. I used the logo image on the Stripe servers. They provide the URL for this image embedded in their documentation (https://stripe.com/docs/checkout/tutorial). This fixed the issue. The original logoUrl error must be to do with a settings error on my WordPress configuration preventing other websites from loading images from our website.

    Look forward to assistance with the “Invalid item price” error which still persists.

    Thank you 🙂

    Thread Starter nr123

    (@nr123)

    Apologies forgot to clearly specify that we are following the “Allow the Visitor to Specify a Custom Donation Amount” with your Accepting Donations article : https://www.tipsandtricks-hq.com/how-to-accept-donation-via-stripe-from-your-wordpress-site-easily-7811

    Both errors are still occuring.

    Thank you 🙂

    Thread Starter nr123

    (@nr123)

    Hello, thank you for the reply. Have tested the full URL including the “https://example.com/logoLocation&#8221; and the “logoUrl () failed to load” error still occurs on every load of the stripe modal.

    Also we are not use the Price field intentionally as we are using the Variable Price option as outlined in your Accepting Donations article : https://www.tipsandtricks-hq.com/how-to-accept-donation-via-stripe-from-your-wordpress-site-easily-7811

    Any other ideas on these two errors?

    Thank you for your time 🙂

Viewing 12 replies - 1 through 12 (of 12 total)