rbellei
Forum Replies Created
-
Forum: Plugins
In reply to: [Accept Stripe Payments] Saving credit card details for laterI am not familiar enough with the code to control all the dependencies.
What is needed is to create the customer with the card info:
$customer = \Stripe\Customer::create( array(
’email’ => $stripeEmail,
‘card’ => $stripeToken
) );And NOT proceed with the charge:
$charge = \Stripe\Charge::create( $charge_opts );In Stripe, this will create the customer and add the credit card info without charging anything to it. In a later date, the card info can be used to charge an amount to the customer using the customer ID.
Forum: Plugins
In reply to: [Accept Stripe Payments] Saving credit card details for laterThanks. Will check and let you know.
Forum: Plugins
In reply to: [Accept Stripe Payments] Saving credit card details for laterOr just create the customer with out charging the card.
Forum: Plugins
In reply to: [Accept Stripe Payments] Saving credit card details for laterYes, that is what I assumed. For what I need, it would not need to store cards. It would just need to charge the customer instead of the card when the customer clicks on the Buy Now button.
In which file does the plugin process the payment (charge the card)? I can try to modify the code to enable charging the customer instead of the card.
Rene
Forum: Plugins
In reply to: [Accept Stripe Payments] Saving credit card details for laterHello Alexander, thank you for getting back to me. I do want to save credit card info in Stripe. However, I do not want for the charge to be processed as described here: https://stripe.com/docs/saving-cards .
Regards,
Rene