stripe payment plugin

More
4 years 8 months ago #127514 by arcascomputing
Replied by arcascomputing on topic stripe payment plugin

Hector Bolanos wrote: I find it disappointing that I need to pay the full price in order to get an updated version of the Stripe Plugin.

I have already bought updates for Membership Pro twice and now I have to pay again for the Stripe plugin in order to meet the SCA requirement :(


I disagree, in this case at least. The changes required to the Stripe plugin have been forced upon Tuan and other developers by legal and industry changes which are no fault of theirs and require potentially significant development time. If someone built me a house to current fire regulations then the fire regs changed and they had to come back and charge me for redoing some work, I wouldn't complain since it wasn't their decision to change the regulations :)
The following user(s) said Thank You: Tuan Pham Ngoc

Please Log in or Create an account to join the conversation.

  • jimi
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 7 months ago #127674 by jimi
Replied by jimi on topic stripe payment plugin
just purchased the new plugin
after instalation i only see one stripe plugin, how do i know if i have the new version installed as both the old aand new plugin seem to have same build number

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #127675 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic stripe payment plugin
It has to be the same name for old recurring subscription still works.

After installing new plugin, you need to do extra configuration:

- Get and enter data for Signing Secret parameter for the payment plugin
- Select two events below for Webhook events:

checkout.session.completed
invoice.payment_succeeded

Please refer to the readme.txt file in the payment plugin package for full instructions

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #127676 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic stripe payment plugin
Below is the content of the file readme.txt for reference:

1. Go to Membership Pro -> Payment Plugins, install the payment plugin

2. Click on the payment plugin to edit, enter payment plugin parameters, then publish it

- For API Keys, you can follow instructions at stripe.com/docs/keys#api-keys to get it.
- For Signing Secret, you need to setup Webhook URL (see the next step) and get the information from there. In the webhook URL setting, click on "Click to reveal" button to get it

3. You will need to login to your Stripe account, add a "Webhook URL" below (see stripe.com/docs/webhooks/setup#add-endpoint-dashboard for instructions)

domain.com/index.php?option=com_osmember...ent_method=os_stripe

(Of course, need to replace domain.com/ with your website url)

Stripe will also asks you for the events for webhook, select two events below:

checkout.session.completed
invoice.payment_succeeded


Tuan

Please Log in or Create an account to join the conversation.

  • jimi
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 7 months ago #127683 by jimi
Replied by jimi on topic stripe payment plugin
yep did all that, so im guessing i have it all installed and setup correctly
thanks

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #127686 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic stripe payment plugin
Great. You should also try to subscribe for a subscription plan. If you are being redirected to Stripe for processing payment, then it's all setting up properly

(no need for making payment, just make sure you are being redirected to Stripe properly)

Tuan

Please Log in or Create an account to join the conversation.

  • jimi
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 7 months ago - 4 years 7 months ago #127689 by jimi
Replied by jimi on topic stripe payment plugin
yep directed to stripe payment page

thanks for the speedy assistance
Last edit: 4 years 7 months ago by jimi.

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #127693 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic stripe payment plugin
OK, that's good. Also, please make sure you monitor next subscription and make sure status of the subscription is Active after users completed payment for the subscription

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago - 4 years 7 months ago #128035 by dev sfp
Replied by dev sfp on topic stripe payment plugin
Hi Tuan,

Thanks for this new plugin.

We test it on our dev platform, with Stripe's test elements. Ok for the payment, go back to site with confirm for new subscription. But the subscription is pending.

We reverted and tested with the old plugin, the subscription is ok : active.

Do we miss something? We did exactly what README says, with secret phrase.

[EDIT] it seems that last webhook from stripe fails and returns : Invalid encoding: ISO-8859-1 [/EDIT]

[EDIT and FINALY OK] My bad, we misconfigured URL endpoint on stripe conf. It's OK For us, great job, thanks [/EDIT]

Regards,
Last edit: 4 years 7 months ago by dev sfp.

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #128036 by arcascomputing
Replied by arcascomputing on topic stripe payment plugin

dev sfp wrote: Hi Tuan,


We test it on our dev platform, with Stripe's test elements. Ok for the payment, go back to site with confirm for new subscription. But the subscription is pending.

Do we miss something? We did exactly what README says, with secret phrase.


Not sure if this is relevant to your issue or not but the secret is different whether you are in test or live mode, however (at present) the payment plugin only stores one value so you have to copy/paste the relevant one in.

Might be an idea, Tuan, for you to allow two secret keys to be stored (just like with the API keys) and it switches between them based on whether you are in test or live mode?

Please Log in or Create an account to join the conversation.