• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: How can I change the Stripe API key via PHP script

How can I change the Stripe API key via PHP script 7 years 3 months ago #37772

  • roninmd
  • roninmd's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
We are managing multiple payment targets that use different Stripe keys but I cannot figure out how to change the Stripe API key via PHP script.

I have tried:
$stripe = RSFormProStripe::getInstance();

$stripe->args[ api_key ] = 'a_test_key_**************';

(I noticed that the snipped above was not displaying correctly so I removed the sinle quotes around my api_key. I am following this example:
www.rsjoomla.com/support/documentation/r...tom-order-forms.html)

and I have consulted Stripe's docs but I don't know how to integrate their instructions with how RSForm Pro is setup.
stripe.com/docs/api#create_charge

Can anyone please shed some light on how I can do this?
Last Edit: 7 years 3 months ago by roninmd. Reason: my snipped was not being displayed correctly
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!