close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

eCart6 store PayPal transaction ID

Thread began 12/04/2014 9:55 am by troyd | Last modified 1/12/2015 11:39 am by troyd | 1132 views | 17 replies

TroyD

Ok so I spoke too soon earlier. Although the change to if (!isset($_SESSION["PayPal_ECO_Token"]) || $_SESSION["PayPal_ECO_Token"] != "") { worked to show the CC info, it only shows the CC info even when using PayPal checkout.
The same goes for the success page where it shows the Payment Method.

In case anyone else has this problem, I fixed this by doing the following.
-At the top of the success page I created two new session. "PaymentMethod" and "Last4" and bound them to the posts from PayPal. (I didn't worry about the exp. date or the security id. We just wanted the last 4 numbers and method).

-Then I changed the if statement on the email receipt and the success page to if (isset($_SESSION["PaymentMethod"]) && $_SESSION["PaymentMethod"] == "CC") {

-For the data I just used the $_SESSION["Last4"] I created to echo it.

-At the bottom of the success page, I unset the two new sessions.

That all seems to work.

Thanks,
TroyD

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...