Cori
Cori
Offline
0
When i enter a payment through stripe, it goes through successfully (so it seems) but then I get the following error message when the page auto refreshes:

Invalid positive integer

Payment process not completed


Do I need to enter an ENDPOINT URL in Stripe?
Responses (17)
  • Accepted Answer

    Cori
    Cori
    Offline
    Friday, November 11 2016, 09:45 PM - #Permalink
    0
    I looked at the logs I was receiving in stripe and I'm getting this info:

    Parsed Request POST Body

    customer: cus_9XsYf8hmBV4wW2
    amount: "0"
    currency: "usd"

    Response body

    error:
    type: "invalid_request_error"
    message: "Invalid positive integer"
    param: "amount"
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, November 12 2016, 10:03 AM - #Permalink
    0
    no, you don't.. are you using our latest version of this plugin?
    The reply is currently minimized Show
  • Accepted Answer

    Cori
    Cori
    Offline
    Saturday, November 12 2016, 12:13 PM - #Permalink
    0
    Yes, I am using the latest version of the plugin
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 14 2016, 08:56 AM - #Permalink
    0
    if you want to send me access to your site I'll be glad to take a look at this...
    The reply is currently minimized Show
  • Accepted Answer

    Cori
    Cori
    Offline
    Monday, November 14 2016, 04:11 PM - #Permalink
    0
    Also, I have the plugin disabled at the moment, because the client was a little antsy that the payments weren't going through
    The reply is currently minimized Show
  • Accepted Answer

    Cori
    Cori
    Offline
    Tuesday, November 22 2016, 06:22 AM - #Permalink
    0
    Hi, I wanted to know if you were able to take a look at my site about the Stripe Payment error. I had added the login credentials to my forum profile.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 22 2016, 11:14 AM - #Permalink
    0
    sorry.. where, in your profile? I don't see it..
    can you send it to me at support@ joomlathat.com?
    The reply is currently minimized Show
  • Accepted Answer

    Cori
    Cori
    Offline
    Tuesday, November 22 2016, 03:20 PM - #Permalink
    0
    I sent the email
    The reply is currently minimized Show
  • Accepted Answer

    Cori
    Cori
    Offline
    Thursday, December 01 2016, 05:51 AM - #Permalink
    0
    Were you able to look at the Stripe plugin?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, December 01 2016, 11:04 AM - #Permalink
    0
    hi

    I answered to your last email but didn't receive an answer... the account you gave me was blocked or not active...
    The reply is currently minimized Show
  • Accepted Answer

    Cori
    Cori
    Offline
    Thursday, December 01 2016, 11:14 AM - #Permalink
    0
    Thank so much for the update! I fixed the login and sent a corresponding email to the support address.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, December 26 2016, 03:39 PM - #Permalink
    0
    I am having the exact same problem. Paypal will work...paypal gets the right amount, but Stripe is submitting a zero $0 payment.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, December 26 2016, 04:22 PM - #Permalink
    0
    Just an update for me...I am using the latest stripe plugin v1.1.0 ... the problem is that even though the button on the stripe code says "Pay $X.YZ" the amount passed to the stripe script is zero. This is why I am getting the error anyway.

    On the plugin file /plugins/invoices/payment_stripe/payment_strip.php near line 101 the line reads 'amount' => $payment->amount * 100, // *100 because...

    The issue is the array object $payment does not have an item "amount" ... the correct variable is payment_amount ...

    So I changed the code in the stripe plugin as follows:

            try {
    $charge = \Stripe\Charge::create(array(
    'customer' => $customer->id,
    'amount' => $payment->amount * 100, // *100 because stripe amount only accepts cents.
    'currency' => $this->params->get( 'currency', 'USD' )
    ));


    To this:
            try {
    $charge = \Stripe\Charge::create(array(
    'customer' => $customer->id,
    'amount' => $payment->payment_amount * 100, // *100 because stripe amount only accepts cents.
    'currency' => $this->params->get( 'currency', 'USD' )
    ));
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, December 27 2016, 10:05 AM - #Permalink
    0
    hello

    yes, this is the necessary change, but looks like we forgot to update our live download version...
    The reply is currently minimized Show
  • Accepted Answer

    Cori
    Cori
    Offline
    Monday, February 06 2017, 04:48 PM - #Permalink
    0
    Want to say that the modifications you made to my script worked out perfectly!

    Just FYI: the update on your server still isn't working properly as of today, 6 February. I reverted back to the plugin that you edited on my server. I've included the zip of what was done on my server (I made some changes to the form.php file in the tmpl folder to match that payment process to the site) if it will help out in any way.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 06 2017, 04:56 PM - #Permalink
    0
    on our server is not working ok? you mean on our demo?
    The reply is currently minimized Show
  • Accepted Answer

    Cori
    Cori
    Offline
    Monday, February 06 2017, 04:58 PM - #Permalink
    0
    The Stripe plugin downloadable package in my account page isn't processing payments properly. I'll reinstall the plugin later today to see exactly what the error message is and post it here.
    The reply is currently minimized Show
Your Reply