i m developing ecommerce site for the first time in asp the problem is that after the shopping cart what should i do
in the time payment how i get payment from user and it credited to my account
i need help geting payment,credit card verification after what r the next step needed in ecommerce website

Dani AI

Generated

A concise, practical next step for : there are two common approaches after the cart—either use a payment service provider / PayFac (PayPal, Stripe, Braintree, etc.) that gives a hosted checkout or client-side tokenization, or sign up for a merchant account + gateway and integrate that gateway’s API. For Classic ASP the least risky and fastest route is a hosted checkout or tokenized fields (so your server never sees card PAN/CVV and your PCI burden is much lower). and were right that you need a processor/merchant relationship; ’s PayPal tip is a valid quick-start and ’s CMS suggestion is useful if migrating to a platform with ready-made plugins. (stripe.com)

A simple implementation pattern to follow in Classic ASP:

  1. Create an order record in your DB with status “pending” and an internal order_id.
  2. Redirect the buyer to the PSP’s hosted checkout (or render the PSP’s client-side token fields).
  3. On payment return and via a server-to-server webhook, verify the provider’s signature and then call the provider API to confirm the transaction amount/status before updating the order to “paid” and fulfilling. Below is minimal pseudo-code illustrating point 1–3.
' create order (server-side)
sql = "INSERT INTO Orders (UserID,Total,Status) VALUES (...)"
conn.Execute sql
orderID = conn.Execute("SELECT @@IDENTITY").Fields(0)

' redirect to hosted checkout
Response.Redirect "https://gateway.example/checkout?order=" & orderID & "&amount=" & total

' callback.asp (webhook)
raw = Request.BinaryRead(Request.TotalBytes)
if VerifySignature(raw, Request.ServerVariables("HTTP_X_SIGNATURE")) then
  ' call gateway API to confirm payment_id and amount
  ' update Orders set Status='Paid' where OrderID=...
end if

Always verify webhook signatures and confirm transactions server-to-server before fulfilling orders. See PSP docs for exact API and webhook verification steps. (developer.paypal.com)

Security & compliance notes: never store full card PAN or CVV on your servers, always use HTTPS, test thoroughly in sandbox mode, and confirm which PCI Self‑Assessment Questionnaire (SAQ) applies to your setup (SAQ eligibility rules were updated recently). Use hosted/tokenized flows where possible to reduce scope; discuss SAQ and scope with your acquirer or PSP during onboarding. (blog.pcisecuritystandards.org)

Recommended Answers

All 6 Replies

You need a merchant account of some kind. Worldpay and chronopay are two you may want to checkout.

how i get do it have specific code or i have to contact merchant account provider how

The code to connect to each third party processor and gateway will be different. You'll need to contact each one to find out more about their APIs.

The whole one thing you should do to get payment into your accout, just register with your paypal account with your e mail and credit card account, and the rest thing would paypal self do for you. It's secure and authenticated way to secarely transacting the payment into your accout.
Thanks to all and welcome for any new suggestion.

Hi friend, i would like to suggest ,why don't you go ahead with joomla and magneto kind of content management system, i am one of them who love to integrate virtue-mart in joomala for e-commerce it's really awesome. if you need more advance than i support magento.

You need a merchant account of some kind. Worldpay and chronopay are two you may want to checkout.

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.