WEBSEO
WEBSEO
Offline
0
Hello,
we searched the forum and found previous responses to our problem, we are getting the following error when we try to process a payment using Sprite:
"Invalid positive integer
Payment process not completed"


We found somebody else had ask the same question in your forum, press the following link:
https://www.joomlathat.com/support/invoice-manager/stripe-payment-completed-error-message

We implemented the solution provided by one of the users:

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->payment_amount * 100, // *100 because stripe amount only accepts cents.
'currency' => $this->params->get( 'currency', 'USD' )
));



But the problem continues.

Please let us know if we need to create a login in our website, for you.

Looking forward to your kind response.

B. Mendoza
Responses (9)
  • Accepted Answer

    Monday, February 13 2017, 08:49 AM - #Permalink
    1
    Hello,

    Can you please try downloading the version 1.1.1 of our Stripe plugin (I just uploaded it)
    The reply is currently minimized Show
  • Accepted Answer

    WEBSEO
    WEBSEO
    Offline
    Monday, February 13 2017, 03:05 PM - #Permalink
    0
    Hi,
    I went and looked for the Sprite Payment plugin but the only one in the folder is the one for PayPal.
    Please check.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 13 2017, 04:16 PM - #Permalink
    0
    Hi, I have the same problem. My clients were just telling me that it did not work. I learned that all their info can be found back in the Stripe account though.
    The amount is 489€
    However it is payed by a US Credit Card. Maybe something with the currency?
    I have downloaded 1.1.1 and I will let you know what happens to my next payment in order to let you know if it fixed my problem.
    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 13 2017, 04:48 PM - #Permalink
    0
    Allright ... I have just received a payment !!!!!
    All work fine again :-)

    Big Thanks :)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 13 2017, 04:49 PM - #Permalink
    0
    Bastiaan.C wrote:

    Allright ... I have just received a payment !!!!!
    All works fine again :-)

    Big Thanks :)
    The reply is currently minimized Show
  • Accepted Answer

    WEBSEO
    WEBSEO
    Offline
    Monday, February 13 2017, 09:04 PM - #Permalink
    0
    Hello, is there a way to keep the conversations private? It can be confusing and not really appreciated that somebody else jumps in a
    conversation not initiated by the one person adding to our post.
    Please don't take us wrong, is just a matter of customer support one can feel comfortable with.

    With regards to the plugin:
    We did install the plugin, these are the changes we see:
    1. we continue to get the same error:

    Invalid positive integer
    Payment process not completed


    We got a n email from Sprite telling us that they got our payment info, but the Payments (in our Sprite profile) do not show
    the transaction as finished.

    All our attempts to make a payment are recorded in our Sprite account, but without payment activity.

    Looking forward to your kind reply.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 13 2017, 09:06 PM - #Permalink
    0
    Pffff, You could think that you are German:p
    The reply is currently minimized Show
  • Accepted Answer

    WEBSEO
    WEBSEO
    Offline
    Monday, February 13 2017, 09:07 PM - #Permalink
    0
    Bastiaan.C , Thank you for making our point.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 13 2017, 09:10 PM - #Permalink
    0
    Hey guys, please don't use the forum for these cross-user discussions...

    @Beatriz, you can PM me (see the PM button on the left)

    It's weird that you're still getting this problem with the new version we published.. if you want to send me access I'll be glad to take a look.
    The reply is currently minimized Show
Your Reply