#eef_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1268970853781995631
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
What are you using to accept payments? Payment Element? Checkout? etc.
Itโs a custom checkout. I am using stripe js, elements and generating a token but our customers can pay via link
I can see the link pay icon in my development environment but I think it goes to the production login etc so I am not sure how I can pay by link in development to test some features
If I could add a link payment method to an existing customer in the test mode stripe dashboard that would be great but I am only able to add a bank or credit card
Is Link turned on in your Dashboard settings?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Yep
Also, I'm still not sure what integration path you're using. Tokens and elements could mean a number of different things with stripe.js
I am using react stripe js and CardElement. This generates a form with a credit card field and also an option to pay using Link. Some of our member have selected to pay by Link. When they submit the form the stripe js library sends the information to stripe and a token is returned like tok_xxxxxxx. That is then submitted to our backend and added to the customer.
I am wondering how a can do this in test mode? Is it possible to have the Link button work in test mode or manually add a Link payment method to a test customer? I have tried to create a Link payment method via the API but it informs me that it is not allowed
My goal is to test creating subscription schedules on members with Link as a payment method.
But I am unable to add Link in test mode. Hopefully this helps ๐
I'd recommend following this guide, since the Card Element doesn't have the ability to accept Link on its own: https://docs.stripe.com/payments/link/add-link-elements-integration
Ok. I have the implementation of Link works in live. The implementation is fine. It works great.
How is it implemented?
It is implemented with react-stripe-js
the checkout is fine, link works fine
so the Link implementation works. I have no issue with the implementation. My question is how do I add a Link payment method to a customer in test mode for testing? The screenshot above is test mode and when I click Link it goes to Live
when i click "link" in test mode it takes me to https://checkout.link.com/ but its all my real credit card information.
An email is provided during the Link payment flow, right? If not, you're probably already logged in. All the same the email of the Customer that logged in would be the one for the Customer that it's attached to, as far as I know
i know that, but I just want to add Link to a customer in test mode
is that possible?
how do i add a Link payment method to test?
4242 4242 4242 4242 is used to test visa credit cards. but what is the process to test Link?
Ahhh, I see. Does this get you oriented in the right direction?
https://docs.stripe.com/payments/link/add-link-elements-integration#web-test-the-integration
when i click the link button, is there a test email address?
No, you use a real email with a test passcode
yea, this seems to be what im not 100% sure on the language "You can create test mode accounts for Link using any valid email address" when the window pops up i can put any email address in?
AAAHHH haha i just got it
right, so the window that pops up is in test mode, i see
it works!
Woo!