• Resolved siddheshsj

    (@siddheshsj)


    Hi,

    Thanks for this amazing plugin. I was wondering if i could use this plugin to store credit card details from the data taken while registration.
    Actually i want to write a cron to pull in credit card details and debit the amount on weekends from customer account from the total order they have placed for that entire week.
    So instead of making payment for each order i want to use this plugin to charge customer for all the orders they make for the entire week.

    Any help much appreciated. Thanks in advance,
    Siddhesh

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi there,

    Actually i want to write a cron to pull in credit card details and debit the amount on weekends from customer account from the total order they have placed for that entire week.
    So instead of making payment for each order i want to use this plugin to charge customer for all the orders they make for the entire week.

    This would require customization of course, but you can use something like WooCommerce Wishlists to have your customers create a list and then set a cron to have that charged on certain days such as weekends. If you need help with customizations, you can reach out to our Customizations teams, and I will leave this up here for another user to help out.

    Thread Starter siddheshsj

    (@siddheshsj)

    Thanks for reply. I can handle writing a cron but what i’m looking for is can this extension be used to store credit card details or generate token based on credit card information provided??

    Also is there any hook which can be called to charge customer using their card details or customer id stored in stripe server??

    Thanks,
    Siddhesh

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @siddheshsj

    can this extension be used to store credit card details or generate token based on credit card information provided??

    Yes, the stored cards are the same cards stored within a users Stripe, connected via the Stripe Customer and Card ID.

    Also is there any hook which can be called to charge customer using their card details or customer id stored in stripe server?

    If the user has stored a card on file then the checkout page will provide that customer a prompt to use that card or the choice to use another.

    Thread Starter siddheshsj

    (@siddheshsj)

    Hi John,

    Thanks for above info. How can i use the stored card to charge customer?? Where will i find details of card stored?

    On checkout page i know about that prompt of stored cards but actually i want to use that customer id to charge automatically using:
    $charge = \Stripe\Charge::create([
    ‘amount’ => 1500, // $15.00 this time
    ‘currency’ => ‘usd’,
    ‘customer’ => $customer_id, // Previously stored, then retrieved
    ]);
    So instead customer going through checkout , i want them just to place order

    • This reply was modified 6 years, 2 months ago by siddheshsj.
    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Thread Starter siddheshsj

    (@siddheshsj)

    what details i can get using saved_cards??

    Sorry to trouble you again and again but client is in hurry to finish the payment option

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @siddheshsj

    That’s more than we can help with here. You may want to try teaming up with a developer on our WooCommerce Developers Slack channel for development help.

    https://woocommerceslack.herokuapp.com/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Credit Card saving during registration’ is closed to new replies.