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

fix: Stripe payment not working #972

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

missuo
Copy link

@missuo missuo commented Oct 26, 2023

The previous exchange rate conversion API has been tested and is no longer free. It now requires an API Key.

This PR has been replaced with the currently available free exchange rate conversion API.

@lslzl3000
Copy link

how to set up stripe? I can't find any tutorial or doc

Copy link

@TheMrJC TheMrJC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It fixed the Stripe problem, well done @missuo

@lslzl3000
Copy link

@TheMrJC what is the stripe webhook callback url? I can't find any doc about this.

@missuo
Copy link
Author

missuo commented Dec 10, 2023

@TheMrJC what is the stripe webhook callback url? I can't find any doc about this.

Read the official Stripe documentation carefully.

@lslzl3000
Copy link

@TheMrJC what is the stripe webhook callback url? I can't find any doc about this.

Read the official Stripe documentation carefully.

I think the webhook url should be provided by v2board side
e.g. if v2board site is host at https://domain.com
the webhook should be a specific path, e.g. https://domain.com/payment/stripe/notice ?

But I can't find any doc about the callback path, and there are several payments method for stripe, are they share the same webhook url? or different path for each method?

@missuo
Copy link
Author

missuo commented Dec 10, 2023

@TheMrJC what is the stripe webhook callback url? I can't find any doc about this.

Read the official Stripe documentation carefully.

I think the webhook url should be provided by v2board side
e.g. if v2board site is host at https://domain.com
the webhook should be a specific path, e.g. https://domain.com/payment/stripe/notice ?

But I can't find any doc about the callback path, and there are several payments method for stripe, are they share the same webhook url? or different path for each method?

After you add the payment method in v2board, you will find that a callback address is automatically generated.

@lslzl3000
Copy link

lslzl3000 commented Dec 10, 2023

@TheMrJC what is the stripe webhook callback url? I can't find any doc about this.

Read the official Stripe documentation carefully.

I think the webhook url should be provided by v2board side
e.g. if v2board site is host at https://domain.com
the webhook should be a specific path, e.g. https://domain.com/payment/stripe/notice ?
But I can't find any doc about the callback path, and there are several payments method for stripe, are they share the same webhook url? or different path for each method?

After you add the payment method in v2board, you will find that a callback address is automatically generated.

ok~~ thanks, finally got the url
the trick is to get a webhook secret, you need to fill a webhook url in advance. so I was finding the url before add a payment method.

@missuo
Copy link
Author

missuo commented Dec 15, 2023

I can assure you that this PR fixes the bug where Stripe can't process payments. As for the issues you mentioned, you should try to solve them yourself. @lslzl3000

@WhoCaresBugs
Copy link

屏幕截图 2023-12-19 164620

1.7.4版本,在輸入信用卡號的時候,出錯。umi.js?v=1.7.4.1681103823832:1 Unsupported prop change on Elements: You cannot change the stripe prop after setting it. 無法提交並閉環支付

@mmsh1370
Copy link

Hello I tried to install two front panels in one VPS by Aappnel The problem I encounter is that users' traffic is recorded irregularly in both databases and both fronts. That is, if user number 9 is online from the first panel, it will show him online in the second panel, even if no node or subscription is defined for the second panel. Can you guide me how to install several fronts on one VPS without any problems?
I am using V2Board v1.7.2
I couldn't open a new request, that's why I left a comment here
Thank you for helping me

@NiuBiDeXiaoLinGe
Copy link

数据库备份了,面板迁移到新服务器,然后导入数据库,之前部分老用户,无法登录,报错我们遇到一些问题,该如何解决?

Copy link

@darwinchow darwinchow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is necessary. However, fawazahmed0 has already migrated this repository and you need to modify the commit the currency exchange rates API URL.

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