#arya-ios
1 messages ยท Page 1 of 1 (latest)
Hi there, please allow me to share with you the step by step guide in accepting payments with iOS https://stripe.com/docs/payments/accept-a-payment?platform=ios
Within this guide, there are example php code you could leverage in building up your server code, please let me know if you have any questions ๐
all 3 days, I read and try, but I couldn't most part o clear for me.
and not explain how to which data to copy where, just mentioned not clear and deailts, mentined,
ex, first step serve side, after I download strip php , so then where should i copy and manipulate, just mention and run out!
where should I put creat.php to which folderof site
I will try my best to help you, please allow me to check where you are with your integrations.
Have you already set up the client side https://github.com/stripe/stripe-ios and have it working?
As you mentioned above, you have already downloaded the Stripe SDK for php, before proceeding with any of the logics, did you manage to spin up the server and test it is working in your localhost? Let start from there ๐
Thanks. I already download from github, I also I did cocopods API for client.
I was going to test from my site, not local host (I try to follow one tutarial but succesful),so I decide to test directly with my test site.
But I don't know how confige and mange or sign up. in local host or directly to my site
could you direct me step by step from scratch.
I already, 1- register in stripe.com (done) 2- I downlaad api client thorough cocopads 3- I download strip-ios (only ) not registe or config nothing more...
?
If you have no experience with working on the server code, here is an example project where you can refer to, it allows you to browse and explore the relative iOS code in the client folder. And the php code in the server folder. https://github.com/stripe-samples/accept-a-payment/tree/main/custom-payment-flow
Alternatively, there is a plugin for Visual Code you could use to set up the working code within your Visual Code editor https://stripe.com/docs/stripe-vscode
If you follow the instructions on the README.md, it will show you how to setup and run the server code within your localhost
๐ฅ
thanks, you know, I'm ios developer, I already don't have problem for client side, however, I just need practical way, I put php code in server backend side in website, to have communication. I'm looking for ready code, I just copy and past in server.
3 thigns is importatn, 1- create customer though app ios, 2- make payment(single paymant or monthly payment, 3- can have refund in(admin),
do you think is there simple solution for that.
Depending on what you would like to do within your app, if you are interesting in building custom payment with numerous payment methods, here's an example code for php https://github.com/stripe-samples/accept-a-payment/tree/main/custom-payment-flow/server/php