Jump to content
Marketing Checkpoint

Recommended Posts

Posted

I'm taking over another mailer that already has it set up. but it looks like I can't just copy and paste the basic code into the appropriate boxes.

 

Here's an example of the code on the site that works properly@

 

<form action="charge.php" method="POST">
<input type="hidden" name="amount" value="[amount]">
<input type="hidden" name="item_name" value="[item_name]">
<input type="hidden" name="item_number" value="[item_number]">
<input type="hidden" name="email" value="[user_email]">
<input type="hidden" name="userid" value="[user_id]">
<input type="hidden" name="txn_type" value="item">
<input type="hidden" name="call_stripe" value="1">
<input type="hidden" name="onetime" value="1">
<script
 src="https://checkout.stripe.com/checkout.js" class="stripe-button"
 data-key="[merchant_id]"
 data-currency="USD"
 data-amount="[amount]"
 data-name="Midnightmailer"
 data-description="[item_name]"
 data-email="[user_email]"
 data-image="https://midnightmailer.com/images/stripe_logo.png"
 data-locale="auto"
 data-zip-code="true"
 data-billing-address="false"
 data-allow-remember-me="true"
 data-panel-label="Pay Now {{amount}}"
 data-label="Pay with Card">
</script>
</form>

 

And this is mine.

 

<form action="charge.php" method="POST">
<input type="hidden" name="amount" value="[amount]">
<input type="hidden" name="item_name" value="[item_name]">
<input type="hidden" name="item_number" value="[item_number]">
<input type="hidden" name="email" value="[user_email]">
<input type="hidden" name="userid" value="[user_id]">
<input type="hidden" name="txn_type" value="item">
<input type="hidden" name="call_stripe" value="1">
<input type="hidden" name="onetime" value="1">
<script
 src="https://checkout.stripe.com/checkout.js" class="stripe-button"
 data-key="[merchant_id]"
 data-currency="USD"
 data-amount="[amount]"
 data-name="Proactivemailer"
 data-description="[item_name]"
 data-email="[user_email]"
 data-image="https://midnightmailer.com/images/stripe_logo.png"
 data-locale="auto"
 data-zip-code="true"
 data-billing-address="false"
 data-allow-remember-me="true"
 data-panel-label="Pay Now {{amount}}"
 data-label="Pay with Card">
</script>
</form>

Posted

the only difference is line 15, while the first one on line 15 has this data-name="Midnightmailer"

 data-name="Proactivemailer"

 

I'm taking over another mailer that already has it set up. but it looks like I can't just copy and paste the basic code into the appropriate boxes.

 

Here's an example of the code on the site that works properly@

 

<form action="charge.php" method="POST">
<input type="hidden" name="amount" value="[amount]">
<input type="hidden" name="item_name" value="[item_name]">
<input type="hidden" name="item_number" value="[item_number]">
<input type="hidden" name="email" value="[user_email]">
<input type="hidden" name="userid" value="[user_id]">
<input type="hidden" name="txn_type" value="item">
<input type="hidden" name="call_stripe" value="1">
<input type="hidden" name="onetime" value="1">
<script
 src="https://checkout.stripe.com/checkout.js" class="stripe-button"
 data-key="[merchant_id]"
 data-currency="USD"
 data-amount="[amount]"
 data-name="Midnightmailer"
 data-description="[item_name]"
 data-email="[user_email]"
 data-image="https://midnightmailer.com/images/stripe_logo.png"
 data-locale="auto"
 data-zip-code="true"
 data-billing-address="false"
 data-allow-remember-me="true"
 data-panel-label="Pay Now {{amount}}"
 data-label="Pay with Card">
</script>
</form>

 

And this is mine.

 

<form action="charge.php" method="POST">
<input type="hidden" name="amount" value="[amount]">
<input type="hidden" name="item_name" value="[item_name]">
<input type="hidden" name="item_number" value="[item_number]">
<input type="hidden" name="email" value="[user_email]">
<input type="hidden" name="userid" value="[user_id]">
<input type="hidden" name="txn_type" value="item">
<input type="hidden" name="call_stripe" value="1">
<input type="hidden" name="onetime" value="1">
<script
 src="https://checkout.stripe.com/checkout.js" class="stripe-button"
 data-key="[merchant_id]"
 data-currency="USD"
 data-amount="[amount]"
 data-name="Proactivemailer"
 data-description="[item_name]"
 data-email="[user_email]"
 data-image="https://midnightmailer.com/images/stripe_logo.png"
 data-locale="auto"
 data-zip-code="true"
 data-billing-address="false"
 data-allow-remember-me="true"
 data-panel-label="Pay Now {{amount}}"
 data-label="Pay with Card">
</script>
</form>

Posted

According to this page, and this documentations.

data-name pertains to the name of your website

<script src="https://checkout.stripe.com/checkout.js"
    class="stripe-button"
    data-key="pk_Fhlzwtm9SCx6Uxww5fNXX8CUbwwAc"
    data-amount="2000"
    data-name="Demo Site"
    data-description="2 widgets ($20.00)"
    data-image="/128x128.png">
</script>

 

Where do I find the data name I need to use in my Stripe account ?

 

I can't find it.

 

never felt this stupid in my life before !

Posted

try this"

data-amount="9.97"

 

Surely that's the amount on the corresponding sales page in the LFM script, isn't it ?

 

I've got Stripe on the case and they're confused as to why also.

 

I'm thinking there may be something in the LFMVM script that's causing it.

 

I replaced my Payza info with the Stripe info, as Payza is now obsolete.

 

Maybe that can't be done that way.

might be the setting up of stripe as i see it from the example code is pretty straightforward just like paypal do. maybe there's something in the script that you bought that prevents it, either way just check carefully every line and see if you have filled it up accurately

Posted

sorry i have to say my additional comment here

the way i see it it's pretty straightforward in setting up stripe, it just fill in the blanks.

let's see if you change the amount to that amount, let's see if it take effects. if not then there's might be something with the script you bought that prevents it, anyways stripe support team can fix it.

Posted

i wish to help you out Phil. I will do my best to resolve the issue. I have sent you a private message about myself. thanks for considering.  looking forward to work with you.

Thanks for all your advice.

 

I spoke to Chris at LFMTE Host and he says it needs to be programmed in, so I'll have to find a programmer to do it by the sounds of things.

 

Thanks again.

 

Phil

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...