#pawel-afterpay

1 messages ยท Page 1 of 1 (latest)

mental plover
#

Hey there! Did you see my message about automatic payment methods for connected accounts?

stable falcon
#

yes yes ! ๐Ÿ™‚

#

thank you

mental plover
#

(unrelated to the above, checking on that now)

stable falcon
#

you helped a lot !

#

i understand it a whole lot better now, so thank you for your help!

mental plover
#

Np!

stable falcon
#

Params for payment intent:

mental plover
#

pawel-afterpay

stable falcon
#

{:payment_method_types=>["afterpay_clearpay"], :shipping=> {:name=>"Pawel Ka", :address=>{:line1=>"1234 Main Street", :city=>"San Francisco", :state=>"CA", :country=>"US", :postal_code=>"94111"}}, :payment_method_data=> {:type=>"afterpay_clearpay", :billing_details=> {:name=>"Pawel Ka", :email=>"pawel@ticketinghub.com", :address=>{:line1=>"1234 Main Street", :city=>"San Francisco", :state=>"CA", :country=>"US", :postal_code=>"94111"}}}, :customer=>"cus_LKahDttONCufeU", :amount=>1000, :currency=>"USD", :confirm=>true, :setup_future_usage=>"off_session", :description=>"OR-1T Kizomba Festival", :return_url=>"http://localhost:8080/redirect_payment_complete.html", :application_fee_amount=>30, :confirmation_method=>"manual"}

mental plover
#

Can you share the PI ID?

stable falcon
#

Payment Intent id ?

mental plover
#

Ah, the error is on creation

stable falcon
#

yes

mental plover
#

What's the account ID?

stable falcon
#

๐Ÿ™‚

#

acct_1KbT5uAN1WpGl5pp

mental plover
#

Is this a direct charge?

#

After Pay doesn't support Polish merchants

#

The error is pretty bad in this instance

stable falcon
#

that im trying to create the intent with

#

its listed in the doc

#

that it does not support pln as currencu

#

currency*

#

but im trying to create order with usd

#

copied part of the data from example from the doc as you see

mental plover
#

But you're a Polish account, right?

stable falcon
#

the platform account is GB

mental plover
#

acct_1KbT5uAN1WpGl5pp is Polish

#

Can you share the request ID? req_xxx

stable falcon
#

the test account is polish

#

where can i find it ?

stable falcon
mental plover
#

So yeah, it's a direct charge for the Polish connected account (acct_1KbT5uAN1WpGl5pp)\

stable falcon
#

req_oIcYqJmOL1tRqn

mental plover
#

The error is just bad in this instance, the actual issue is you can't use After Pay on Polish accounts

stable falcon
#

check this one

#

req_oIcYqJmOL1tRqn

#

that one is in USD

#

i tried several

mental plover
#

It's northing to do with the currency, it's just a really bad API error

#

You're trying to create the PI with a Polish connected account. After Pay doesn't support Polish merchants

stable falcon
#

okay, so what kind of account i need to create to test it for the customer?

#

if i create new test account with address from the UK will it work ?

mental plover
#

Outlines merchant, currency and customer location support

stable falcon
#

Okay, just creating account in UK to see if that works ๐Ÿ™‚

mental plover
#

Should do, yep