ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Fetch variables from "paypal_details" with Query?

March 24, 2008 2:15pm

Subscribe [3]
  • #1 / Mar 24, 2008 2:15pm

    Joakim_

    33 posts

    Hello.

    I try to to find a way to fetch the variables (like payment_gross, txn_id etc.) from the “paypal_details” field in exp_simple_commerce_purchases.

    When I run a Query like this:

    {exp:query sql="SELECT paypal_details FROM exp_simple_commerce_purchases WHERE member_id = '1' "}
    
    {paypal_details}
    
    {/exp:query}

    I get all variables together, but is there any way to select which variables that will be shown?

    Thanks a lot!

  • #2 / Feb 26, 2009 4:52pm

    dj-rowan

    31 posts

    I want to do the same thing… recording a custom field into os0 and on0 on the paypal url string. Would be nice to have a way to access the data in the serialized array in the payment_details field.

  • #3 / Mar 16, 2009 1:49pm

    dj-rowan

    31 posts

    bumping… still haven’t figured this out… anyone?

    thanks

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases