Hi frnds....

I need payment gateways code...

i have just basic idea about paypal...i dont know abt code for gateways..here my requirement is it should access all creditcards payments with secure.....

i dont know the code is in php or any other way...plz give me some idea abt this...i need to add paypai to my website.....

plz send me asap..very urgent....

Dani AI

Generated

A short, practical plan you can follow now.

You need two things: a payment gateway (the service that talks to card networks) and — in most cases — a merchant account or processor where funds are deposited. Using a hosted or tokenized gateway lets you accept all major credit cards without storing card numbers on your server, which greatly reduces your compliance burden. As suggested, contact a gateway provider; already pointed to PayPal as one option. If the client doesn’t already have an account, they must create one with the chosen provider (or open a merchant/acquiring account). Authorize.Net eCommerce guide. (authorize.net)

Hosted checkout (redirect or iframe) or client-side tokenization (for example, Stripe Checkout/Elements or Braintree Drop‑in/Hosted Fields) sends card data straight to the gateway and returns a token you use on your server. That approach reduces PCI scope compared with posting raw card data to your backend; PCI SSC explains the SAQ differences and risks of direct-post vs iframe/redirect patterns. See Stripe’s hosted Checkout for a quick example of this low‑scope model. . (pcisecuritystandards.org)

Concrete PHP workflow (typical, low‑risk path):

  1. Pick a provider (Stripe, Braintree, Authorize.Net, PayPal).
  2. Sign up for sandbox and live accounts and get API keys.
  3. Install the provider’s official PHP SDK via Composer and use their hosted form / client-side tokenization so PAN never hits your server.
  4. Create payments (payment intent / nonce) server‑side, verify via provider webhooks, and store only tokens/IDs.
  5. Test thoroughly in sandbox, then switch to live keys. Always serve checkout pages over HTTPS and follow the gateway’s security guide (TLS, webhook signature verification, no CVV storage). See Stripe’s “accept a payment” guide and Braintree’s developer guides for PHP examples. ()

If this is urgent: use a hosted button or Stripe Checkout — you can get a working, secure flow in hours (sandbox → live). For a more flexible, production setup pick Stripe or Braintree for easier PHP SDKs, tokenization, fraud tools and multi‑card support. Follow the gateway’s integration docs and the PCI SSC guidance while you build; that combination keeps your implementation secure and minimizes your PCI scope. ()

Recommended Answers

All 5 Replies

contact paypal
sign up as a merchant
add the code they give you

contact paypal
sign up as a merchant
add the code they give you

Hi almostbob,

Thanks for ur quick reply....

contact paypal means? which is the best one ...

i need more explanation about this...my client doesn't give me any paypal options or information...he said that, they want paypal with all credit cards...

how can i contact with paypal?

plz give more explanation about this with patience...

Thank u...

I can tell you that when almostbob said contact paypal, he would have meant to perhaps send an email to the group named paypal or to contact the paypal group via online form.

You can create an account with them to access their service here...

Or go for help here....

Thank U mam...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.