PHP, MySQL & Stripe API Payment App - Part 1

PHP, MySQL & Stripe API Payment App - Part 1

Traversy Media

6 лет назад

223,196 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@jamesr2408
@jamesr2408 - 26.08.2023 11:59

5 Years old. Is it any good today? Hard to find a comprehensive, up-to-date php-stripe course.

Ответить
@vedprakash-zz6hb
@vedprakash-zz6hb - 24.07.2023 21:22

This Stripe charge method is deprecated. Please update this code to the payment intent method.

Ответить
@freeranger1677
@freeranger1677 - 26.10.2022 16:51

Is this code still valid for Stripe in 2022?

Ответить
@UpEthio
@UpEthio - 27.09.2022 23:10

Hello, i got error Invalid API Key provided: pk_YOURP*********EKEY but the public key and secret key is correct even i check if there a space pls give me solution

Ответить
@user-iu7ok8bj9c
@user-iu7ok8bj9c - 06.07.2022 15:47

Hello how are you? Thanks for the tutorial, it was excellent.

I have a doubt.
I have a membership platform that is integrated with several online payment acquirers, but these acquirers do not have a similar function to stripe connect.

I would like to implement a payment management and multivendor system on my platform, where each user would create their products, plans and prices and each plan would generate an automatic checkout to be sent to these users' customers.

Payments received would be split between my stripe account and my seller user accounts automatically.

For that I would need to have a personalized dashboard per user session showing the daily total of sales made, the total sum of sales, the emails and names of the customers who bought, the function to register the plan and price and generate a checkout link with the plan name and price using stripe connect.

A cashout request page, and another cashback management page, how much would you charge me to create this type of integration with my platform? it is done in PHP.

Ответить
@namibiacodegeek
@namibiacodegeek - 06.06.2022 22:05

Please Traversy Media can please create for me a stripe account ,I am here in Africa Namibia were stripe is not access able ,but is still in use. I am building ecommerce website were by need the stripe account.Please tell me your charges to settle if its possible thank you.

Ответить
@victoriouscyber1532
@victoriouscyber1532 - 21.04.2022 22:46

Hello. I have a request to make and am gonna try to request it on every video I watch on your channel till you help out😂. So I started a reseller hosting business and for some reason I can't manage to pay for WHMCS monthly. I have done my research and realized that Box Billing is the best free alternative for WHMCS. However I haven't managed to intergrate their code into my website without necessarily having my client to log in a boxbilling account, plus I haven't been able to automate the creation, suspension of accounts and emailing clients. Please make a video on that. Assume at your own risk😂😂.
Thank you in advance

Ответить
@Vichion
@Vichion - 08.04.2022 08:09

"Button is not in the html" -> Button is literally in the html -> proceeds to use JavaScript to add a class

Love it, some humor in a tutorial is always good 😂

Ответить
@illestoth9298
@illestoth9298 - 02.02.2022 17:02

What is the point of passing the POST value to another variable in charge.php?

You hand over the same thing, you don't even protect it or escape it...

Ответить
@houba1263
@houba1263 - 24.01.2022 23:13

Hi can you please help im creating a landing page for my product and i want users to pay monthly or yearly so the problem here is let s say the monthly subscription expired what i have to do to deny the user from using it unless he pays again .. can u please help me

Ответить
@sodaamiti
@sodaamiti - 21.01.2022 12:12

Hi, I see it very helpful but unfortunately, when I go to the documentation from stripe it says it is not updated for Europe. Do you think you will do more videos like this? I would be very interested in processing a single time payment for a real-life course/workshop where the customer could choose the date he/she wants to participate.

Ответить
@matthewpatt7865
@matthewpatt7865 - 18.01.2022 18:45

doesnt explain how anything gets done lol

Ответить
@manoelmessias1787
@manoelmessias1787 - 30.11.2021 20:49

Very good! Do you have the new video about how can we do this today? Stripe updated the api and I couldn't do it the way you taught in this video. Thanks a lot.

Ответить
@markchristophercacal2888
@markchristophercacal2888 - 13.11.2021 06:30

so is it secured so we can save the credit card?

Ответить
@shirishachhetri3315
@shirishachhetri3315 - 02.09.2021 07:24

Thank you so much. It was really helpful.

Ответить
@mohmmadse1565
@mohmmadse1565 - 21.08.2021 17:21

wonderfull my friend

Ответить
@codercasts6846
@codercasts6846 - 12.08.2021 15:20

This has helped me with one of my first ecommerce sites. Top man Brad 👍

Ответить
@roytheresa4211
@roytheresa4211 - 27.06.2021 03:10

I really appreciate Legitsgang2 on telegram for my card online premium service you're the real best vendor sir 💯

Ответить
@roytheresa4211
@roytheresa4211 - 27.06.2021 03:10

I really appreciate Legitsgang2 on telegram for my card online premium service you're the real best vendor sir 💯

Ответить
@hhhrrruuulll
@hhhrrruuulll - 13.06.2021 21:56

Hello.. Can you tell me how can i show the last4 card number on success.php? thanks.

Ответить
@tehseenullah215
@tehseenullah215 - 26.05.2021 10:25

hello sir, i have placed my api key but gettting 'invalid api key' error

Ответить
@rmz261
@rmz261 - 23.05.2021 21:15

Hey Brad if I wanted to use a different API could I do so with this same setup of PHP and MySQL then just put in the API for say Venmo or something like that

Ответить
@francescoscollo2275
@francescoscollo2275 - 30.04.2021 14:30

The video is great. How can i get the email to confirm the payment?

Ответить
@williamjamesrapp7356
@williamjamesrapp7356 - 03.04.2021 16:15

*QUESTION* How do I get a result from a PAYMENT process ( like STRIPE or PAYPAL ) to Trigger an Event or Function in MY website ?
I am building a Business Website where in steps ( 1 ) a Customer ( anyone this is not a Subscription nor membership site ) comes to my web site Fills out a Form for DATA SUBMISSION into the Database. ( 2 ) Once the DATA Form is filled out they press NEXT button ( 3 ) they are taken to a 3rd party PAYMENT page where they fill out a payment form and then press SUBMIT ( 4 ) once the SUBMIT button is pressed payment is process ( 5 ) ONLY AFTER PAYMENT IS APPROVED THEN I want the Data to be submitted into the data base.
QUESTION Is STEP # 5 completed with JS or some other language ? HOW do I complete the process where AFTER PAYMENT IS ACCEPTED from a 3rd party payment processor ( like STRIP or PAYPAL ) THEN the data from the Already filled out data form is submitted into the data base ?? IS A WEBHOOK required to make this possible ? (if so how would one code that ) Is GET, Fetch, or some third party server required ??

Ответить
@satvinderjit21
@satvinderjit21 - 05.03.2021 19:00

Hello dear Developer
Can you help Please help me with my requirement.
my requirement is ton transfer the amount to the 3rd person
for example any hotel booking site. different hotels are listed in a single website. every hotel owner has its dashboard where hotel owner attached his bank account or his card. Now if any user booked any hotel then i want to directly transfer that booking amount to the hotels owner account.
how i can do this there is no compulsory that every user have strip account. he can add his credit card or bank account details.

Ответить
@SteveSmith-jc7pc
@SteveSmith-jc7pc - 08.02.2021 06:57

It looks like this may be out of date. When I check the stripe website URL that Brad refers to I see:
"Accept online payments from U.S. and Canadian customers.
The Charges API is an older payments API that doesn’t handle bank requests for card authentication. Try our new payments APIs and integrations instead."

I don't know but am guessing that European Banks have some new rules. The new stripe API integration seems to use webhooks to send your PHP-webserver details of the successful charge. The stripe website is quite good with code examples etc. (What I'm unsure about is what data, I need to extract from the file they send to the webhook - It's a JSON file with over 100 key-value pairs.)

Ответить
@als-7144
@als-7144 - 06.02.2021 22:42

Sir Can you plz email me this source code plzzz ( [email protected]) my gmail

Ответить
@arnantaroy7468
@arnantaroy7468 - 19.01.2021 06:45

Hi, for some reason it says " the site can't be loaded' how do I run this program, you haven't showed that

Ответить
@lkkrv00rm3
@lkkrv00rm3 - 16.01.2021 10:21

Do you wear a cape in real life? Cause your my Hero... been looking litteraly 2 full days for this and now it works like a bus!

Ответить
@mathiasfantoni2458
@mathiasfantoni2458 - 05.01.2021 23:11

That documentation looks very different in 2021…

Ответить
@jorgetoro7048
@jorgetoro7048 - 14.11.2020 22:18

Excellent video. You have helped me again advance my project. Thank you

Ответить
@khurramshahzad9359
@khurramshahzad9359 - 02.11.2020 04:47

Hi sir ! You're such a great teacher ! Sir I've an issue ! I am developing an charity website where I will have donors. What I want is that I should deduct equal amount from all my users whenever the admin of my website asks for. For example I have 10 users and have to deduct 100$ so every user should give 10$ each and on next day or so admin enters different amounts. Admin can ask for donation anytime and deduction will be done automatically and after deducting amount, email will be sent to the every respective user. Is it possible? If yes can you please guide me a bit ! I will be thankful in this regard. !

Ответить
@beastieboy96
@beastieboy96 - 17.10.2020 17:15

What if i want users to be able to pay a custom amount each time?

Ответить
@logic_master950
@logic_master950 - 11.10.2020 04:16

Hey 👋 , awesome tutorial brother.

Ответить
@ShannonWhitty
@ShannonWhitty - 30.09.2020 06:54

Is this video still compatible with the new PaymentIntent object stripe now uses? Is it just like for like with Stripe\Charge

Ответить
@jacobwinter8332
@jacobwinter8332 - 03.08.2020 16:23

Yo is it just me or does his boston accent have him sounding pissed the entire video

Ответить
@connerallen642
@connerallen642 - 10.06.2020 00:26

finally somebody who is actually doing this is code and not just a wordpress plugin. lol

Ответить
@sk14323
@sk14323 - 05.06.2020 15:57

function test_input($data) {
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
return $data;
}

Ответить
@rajeevkandpal7326
@rajeevkandpal7326 - 19.05.2020 15:13

How can i update name?

Ответить
@jampiuatila6301
@jampiuatila6301 - 15.05.2020 15:26

Hey guyz I just want to ask about making the paypage responsive. After I was done I realized that the MM/YY and some parts where overlapping the four digit credit card hence the user could barely see what they are typing in(CVC). Could someone please help me with this?

Ответить
@TAHJBecomeYourBestSelf
@TAHJBecomeYourBestSelf - 06.05.2020 08:02

So how did you send an email to them after????

Ответить
@__Cypher
@__Cypher - 22.04.2020 19:12

I have a request please recreate old tutorials with latest changes

Ответить
@jevonmcpherson8054
@jevonmcpherson8054 - 07.04.2020 22:59

Does this work in the uk though?

Ответить