#Octolus - Ali pay

1 messages · Page 1 of 1 (latest)

coarse yew
#

Hello, where are you seeing that it is invalid or not activated?

austere thunder
#

Uncaught (Status 400) (Request req_7yrpznTHsJcRNu) The payment method type provided: wechat_pay is invalid.

#

@coarse yew here ya go, this also happened on wechat.

#

I am using Stripe Sessions in PHp.

#
\Stripe\Checkout\Session::create([
coarse yew
#

Thank you. Will check in to that request in a minute

austere thunder
#

I suppose that Stripe Sessions should support AliPay + WeChat.

#

Found out why.

coarse yew
#

Nice! What did it turn out to be? I was just pulling up that request's page

austere thunder
#

\Stripe\Stripe::setApiKey
$stripe = new \Stripe\StripeClient(

#

Both had API Key, one had test and one had live.

coarse yew
#

Interesting. And when you switched to just one of them it started working?

austere thunder
#

Yes, second problemis

#

Invalid currency options usd. The payment method alipay only supports the following currencies: cny`, `nok.vvvvv

#

But on the docs, it says it support susd..?

#

usd *

coarse yew
#

That is likely an error in the docs. Checking in to it

austere thunder
coarse yew
#

Thank you

austere thunder
#

Interesting.

#

Seems like the currency is linked specific.

coarse yew
austere thunder
#

Norwegian.

#

I tried EUR, and the error appears still.

#

Invalid currency options eur. The payment method alipay only supports the following currencies: cny`, `nok.

#

Despite the fact that the documents state I should be able to use EUR.

coarse yew
#

Can you send me that request ID as well?

austere thunder
#

req_OdgyqlyU64Oqde

coarse yew
#

Yeah I see Norway explicitly listed there.

#

Thank you

#

I am not sure which is wrong here. Can you reach out to support with this request ID so that they can look in to it? I can see that you are using the API properly, they are better equipped to look at why we are restricting the currency like this. Also as the doc mentions, we can sometimes enable currencies that we don't list as supported on a case-by-case basis

#
austere thunder
#

I have but they're useless