1

I have a stripe account all setup and I have created plans. In Drupal Commerce I have created products, but I realised it should have pulled the "plans" down from stripe. I have also tried the stripe payment module which did pull the plans down, but it would have required a lot of customisation to work well with the roles that we needed to assign per plan.

Where does Commerce Stripe store the plans created on my stripe account?

  • grep -r plan commerce_stripe gives no results, so the answer is most likely that it doesn't store or interact with plans. Maybe you're looking for drupal.org/project/stripe_subscription – Clive Aug 4 '15 at 7:48
  • I found that out the hard way. It does not interact with the plans stored on stripe.com. There is promise that the next version will make use of additional API features and hopefully that is one of them as well as the stripe coupons. – Mike Boracci Aug 7 '15 at 2:42
0

While I'm not familiar with Stripe, it looks like the commerce_stripe stores the details in the remote Stripe system via the stripe-php library

e.g, in commerce_stripe_submit_form_submit

Stripe_Customer::create
...
Stripe_Customer::retrieve

The other place for payment gateway settings will be on the individual payment method configuration form under Rules.

  • Thank you, yes you are right. There is no interaction with stripe other than a few things. The other stripe modules actually pull the plans from stripe.com and use them. Commerce_Stripe is only using stripe as the endpoint, the integration in minimal. – Mike Boracci Aug 7 '15 at 2:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.