Jump to content

Manually approving/processing payments


Recommended Posts

I am using Stripe to process CC's. Currently when somebody places an order the payment is processed instantly. I would like to be able to review the order before the payment is processed. Once I am OK with the order I would then say go ahead and run the payment. I have been through all the settings in my Stripe account and in the Stripe module and don't see any way of doing this.

 

How do I accomplish this?

Link to comment
Share on other sites

  • 2 weeks later...

what version of the Stripe module are you using? 

 

If it is the free module from Prestashop (no longer supported by the way), then there is not a way to configure this.  You would have to edit the module code so that it defaults to 'auth only'.

 

Once you provide the Stripe version you are using, I can assist a bit more

Link to comment
Share on other sites

Oh wow, wasn't aware that Stripe was no longer an official gateway partner. I'd be willing to use one of the other supported gateways if they have the same terms as Stripe (decent rate, no monthly fees, 2 day transfers). I'll have to shop that around.

 

In the meantime I'm using Stripe free 0.9.4.

Link to comment
Share on other sites

I have released the Stripe Reloaded module which you can find on the addons store.

 

The rate, monthly fees, transfer period are all aspects of the Stripe service and completely unrelated to the payment module.  So you just need to decide on a module.  I am aware of 3 of them.  2 are paid and 1 is free. 

Link to comment
Share on other sites

In looking at your Stripe Reloaded module, it's not clear on what it does that the existing free module does not. Does it provide the manual processing functionality I'm looking for? If so, I would probably be willing to shell out the $60. If all it does is process payments exactly like the old module, I'll stick with the old module. 

Edited by sscardefield (see edit history)
Link to comment
Share on other sites

The free module is no longer supported, does not support the mobile theme, and the save credit card function is broken.  It also uses an older Stripe interface.  However if the free module works for you, no reason to stop using it.
 

Does it provide the manual processing functionality I'm looking for?

 

Please define what the "manual processing functionality" is that you are looking for and I can let you know if it supports that

Link to comment
Share on other sites

Stripe supports a 2 step process.  The first step is authorization, the second step is capture.  This sounds the closest to what you want to occur.  If so, you can change your existing module as follows

 

In your version of the module (Stripe 0.9.4), open the stripejs.php using a text editor and locate this line.  It should be line 450 so long as you have not made any changes to the file.

$result_json = json_decode(Stripe_Charge::create($charge_details));

Directly above that line, you would add the following...

$charge_details['capture'] = false;

The result should look like this.

$charge_details['capture'] = false;
$result_json = json_decode(Stripe_Charge::create($charge_details));

Taken directly from the Stripe documentation

Whether or not to immediately capture the charge. When false, the charge issues an authorization (or pre-authorization), and will need to be captured later. Uncaptured charges expire in 7 days. For more information, see authorizing charges and settling later.
 

For more information refer to the following Stripe pages

https://stripe.com/docs/api#refund_charge

https://support.stripe.com/questions/does-stripe-support-authorize-and-capture

Edited by bellini13 (see edit history)
Link to comment
Share on other sites

So how is that option set with your module now? Is there another option in the module configuration page? Is the module that's available on the Add Ons site updated? Because it still shows 3/27/14 and I don't see that option in the config page screenshot.

 

mtBngLu.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...