• Resolved jeffatrmc

    (@jeffatrmc)


    Hello,

    I don’t yet have this plugin but I am looking to switch away from my current payment system. Does this plugin enable me to save cards or payment options past the 6-day expiration deadline? So we can charge them later? We have to order from manufacturers to fulfill orders sometimes and that can take longer than 6 days.

    Also, does your plugin allow for edits to the cost of the order within woocommerce? Any info on this would be great.

    Thanks,
    Jeff

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

    (@mrclayton)

    Hi @jeffatrmc,

    If the typical 6 day authorization is not enough time then you can simply save the customer’s payment method with a tiny snippet of code which can be added to your theme’s functions.php file.

    With a saved payment method, the order amount can be edited to anything. Let me know if you would like me to provide that snippet of code for forcing the payment method save during the checkout process.

    It’s important to include some messaging to your customer’s in this case so they know you’re saving the payment method so it can be charged at a later date.

    Kind Regards,

    Thread Starter jeffatrmc

    (@jeffatrmc)

    Hi @mrclayton ,

    This is fantastic to know. Let me finish up some research in some other areas first and then I will be in contact with you about integrating that code and your plugin.

    Thank you!
    Jeff

    Thread Starter jeffatrmc

    (@jeffatrmc)

    Hi @mrclayton

    What code is needed to accomplish this?

    Also, would you recommend doing anything before switching over to your app?

    Best,
    Jeff

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @jeffatrmc,

    Also, would you recommend doing anything before switching over to your app?

    That depends on what your previous payment system is. Are currently using WooCommerce and just switching plugins? If you’re using the WooCommerce Stripe Gateway and switching to this one, then you don’t need to do anything. This plugin will map all values from the other plugin.

    Here is the code snippet to add to your theme’s functions.php so that your customer’s payment method will be saved automatically.

    add_action('wc_stripe_before_process_payment', function($order, $gateway_id){
        $_POST["{$gateway_id}_save_source_key"] = 'yes';
    }, 10, 2);

    Kind Regards

    Thread Starter jeffatrmc

    (@jeffatrmc)

    I’m switching from the Stripe Payment Gateway for WooCommerce by webtoffee version. Not sure if that changes anything. Also, is there any way to enable payment via cryptocurrency like bitcoin?

    Best,
    Jeff

    Thread Starter jeffatrmc

    (@jeffatrmc)

    One other question. How will this change over affect orders that have yet to be charged or completed?

    Thank you for all of your help!

    Best,
    Jeff

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @jeffatrmc,

    Stripe does not support crypto to my knowledge so it wouldn’t be possible in the plugin.

    If you aren’t selling subscriptions then switching over won’t require any migration or affect anything.

    For orders that have yet to be charged (I assume just authorized) then disabling your other plugin will affect those because the order maps to your current gateway. What you can do is leave that other plugin active, but disabling the gateway in the payment gateway’s settings page. It will be a checkbox that says “Enable” or something to that affect. By leaving the old Stripe plugin enabled, but the gateway not active you can process your old orders but no new orders will be processed on the old gateway.

    Let me know if that causes you any issues.

    Kind Regards,

    Thread Starter jeffatrmc

    (@jeffatrmc)

    This is great to know and sounds easy! I will be sure to let you know if we have any issues.

    Thank you!
    Jeff

    Thread Starter jeffatrmc

    (@jeffatrmc)

    Hi @mrclayton

    So after downloading and activating the plugin, I am running into an issue with credit card processing. Right now no matter if I am trying to use this plugin or the webtoffee one, The credit card input is not working correctly. I can put in the exact correct information and it just shows a blank red bar like there is an error with no information on what the error could be. It also doesn’t accept the payment on the front end by showing a receipt of sorts it just refreshes the page with an added red bar. The payment is authorized in Stripe on their end and the order shows up in the backend of wordpress/woocommerce but without any sort of payment indication/way to capture the payment. Processing a payment through the browser seems to work fine, but it does charge them right away instead of just authorizing. Any idea what might be happening here? I do not have the added code above implemented. I have had to disable everything except browser input for now. http://www.rmconnection.com

    Best,
    Jeff

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @jeffatrmc,

    Try checking the woocommmerce failure logs and see if an exception is being thrown by another plugin.

    Kind regards,

    Thread Starter jeffatrmc

    (@jeffatrmc)

    Hi @mrclayton Where would I find that?

    Thread Starter jeffatrmc

    (@jeffatrmc)

    @mrclayton It seems to be stemming from the authorization element as I tried it with a charge right away and it works fine. I guess my issue stems from it showing an error reading to the customer when they try to finish checking out without any actual error and that the order on the woocommerce side doesn’t show a way to capture the card or any payment information or confirmation that it was authorized. Any help on this would be appreciated.

    Plugin Author Payment Plugins

    (@mrclayton)

    @jeffatrmc

    Here’s how I see this process for you working:

    1. You authorize the payment and saved the card.
    2. You let the authorization expire since you need more than 6 days
    3. You update the order with whatever the final total is then use the stripe plugins “Pay for order” functionality. That allows you to pay for the order directly in the Order details page using the saved payment method.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Saving a card past 6 days’ is closed to new replies.