Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You cannot use a Stripe token more than once #264

Open
pradpnayak opened this issue Oct 12, 2018 · 4 comments
Open

You cannot use a Stripe token more than once #264

pradpnayak opened this issue Oct 12, 2018 · 4 comments

Comments

@pradpnayak
Copy link

I get following error when i try to do contribution

Error Oops! Looks like there was an error. Payment Response:
Type: invalid_request_error
Code: token_already_used
Message: You cannot use a Stripe token more than once: tok_1DKZGoDqbeqCURmIcq1oz3nQ.

I have a membership sign up for having $50 memberships with auto renewal turned on and i have also enabled 'Separate Contribution' with $20. When i select $50 and $20 and make a payment i get above error. $20 is recorded successfully at Stripe but not $50 which is suppose to be recurring payment.

Is this extension supported to use membership sign up with separate contribution turned on?

@mattwire
Copy link
Contributor

@pradpnayak This extension has now moved to gitlab. "Separate Membership Payment" is not supported by 5.0 without a core PR but the upcoming 5.1 release will support "Separate Membership Payment" without any changes to CiviCRM core. It would be great if you could give this branch some testing: https://lab.civicrm.org/extensions/stripe/tree/5.x_noemail

The main risk is the upgrader (which can be re-run through the API Stripe.customercontactids) as it tries to convert existing customers from being mapped by email to contact ID.

@pradpnayak
Copy link
Author

Thanks @mattwire I will give it a try and let you know about it. Its a new setup so I feel it won't have any affect on upgrader.

@pradpnayak
Copy link
Author

Hi @mattwire

It did work on CiviCRM 5.6 on Joomla instance, However there few problems

  1. Status was not changed to Completed even though payment was successful. I cross checked with old extension and found stripe doesn't send values in $_REQUEST there fore the older version was using different webhook URL to get data from input file and convert the json response to array. I don't think this is handled in your version of extension.

  2. I had signup for auto renewal membership but in stripe payment processor it wasn't listed under subscription listing. DO you have any idea?

@mattwire
Copy link
Contributor

@pradpnayak Can you open a new issue on https://lab.civicrm.org/extensions/stripe? (The setup you describe is working for me)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants