Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter cwcj

    (@cwcj)

    Thanks again Noor for your helpful and prompt response. I have got in touch with Stripe to understand what I can do on their end to get more information when a transaction occurs to see the product that was bought (both on the mobile app and API).

    Another related question that might help me solve my current difficulty. I see when the order is created a post is created with meta data including txt_id, name, amount and email. Is there a way of increasing this to include the product_name as a meta data tag?

    Many thanks

    Thread Starter cwcj

    (@cwcj)

    Hi Noor,

    Again thank you for coming back to me so quickly. I will see if I can get something from Stripe.

    The parameter is just an optional parameter that is part of the ‘create a charge’. Currently the plugin sets it to ‘null’. I’m not sure if the below helps make what I’m trying to say clearer?

    https://stripe.com/docs/api/charges/create#create_charge-description

    Thanks

    Thread Starter cwcj

    (@cwcj)

    Thank you for such a prompt response. I’ve tested this out and can see the change, but fear I was not clear in my request.

    I was talking about the description in the payment or charge section, not the description of the product. At the moment the description of the payment appears to be set to the payment ID.

    The reason for this elsewhere is that I use a trigger from the creation of a charge and I use the info from the payment description. Unfortunately, the product details do not appear on the trigger.

    Thread Starter cwcj

    (@cwcj)

    We wouldn’t envisage tickets for both being bought together: we’d place the box office for one production on one page and the other separately elsewhere (using specific short codes). But I see your point as to why this is not possible in the standard settings

    Hello,

    I am in a very similar position: a stageshow user (getting back to grips with the pluggin as we return to live performances!), and we have recently moved over to Stripe. I’ve changed everything in the payment settings and set the various keys, but the ‘checkout’ button is no longer appearing.

    Any advice welcome

    C

    Thread Starter cwcj

    (@cwcj)

    Thank you for your response George, and apologies for the delay in mine.

    I do have the timber plugin – but our theme does not use Twig, in the main. Perhaps easiest if I give the specifics. Please bear with me.

    We have added the relevant timber code to our functions.php file (the timber support (public function __construct() ) etc) and for a testing example have included:

    public function add_to_context( $context ) {
    		$context['stuff'] = 'I am a value set in your functions.php file';
    		return $context;
    	}

    Then in the relevant post template php file we have included:

    $context['the_message'] = 'Further value from template file';

    When we then render a twig file inside this file eg:
    Timber::render( 'welcome.twig', $context);

    we are able to call inside welcome.twig the variables:

    {{ the_message }} {{ stuff1 }}

    (this proceeds the php code the_content())

    However, when we use the same twig code inside the Plain Twig block on the wordpress page, these varaibles do not render.

    Hope this is clear.

Viewing 6 replies - 1 through 6 (of 6 total)