import React from 'react'

import './paypal.css'

const PayPalPage = ({ message, email }) => (
  <div>
    <h1 className="paypal-header">{message}</h1>
    <h3 className="paypal-subheader copy">Choose a payment option below:</h3>


    <div className="payment-option">
      <p className="payment-description">For 1 year at $20 with a <em>Recurring subscription: </em></p>
      <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
        <input type="hidden" name="cmd" value="_s-xclick" />
        <input type="hidden" name="hosted_button_id" value="ZK69WETMHNNHN" />
        <input type="hidden" name="custom" value={email} />
        <input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_subscribe_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" />
        <img alt="" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
      </form>
    </div>

    <div className="payment-option">
      <p className="payment-description">A lifetime subscription at $500: </p>
      <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
        <input type="hidden" name="cmd" value="_s-xclick" />
        <input type="hidden" name="hosted_button_id" value="ZK69WETMHNNHN" />
        <input type="hidden" name="custom" value={email} />
        <input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_subscribe_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" />
        <img alt="" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
      </form>
    </div>

    <p className="copy paypal-footer">Once you've submitted payment through Paypal, you'll receive an e-mail at <em>{email}</em> to setup your account!</p>
  </div>
)


export default PayPalPage




@@ -311,62 +311,45 @@
 For 
-1 year at $20 with a %3Cem%3ERecurring subscription: %3C/em%3E
+a one time payment of 1 year at $20: 
 %3C/p%3E
@@ -570,86 +570,26 @@
 ue=%22
-ZK69WETMHNNH
+EBS7UCPTYFGK
 N%22 /%3E%0A
-        %3Cinput type=%22hidden%22 name=%22custom%22 value=%7Bemail%7D /%3E%0A
     
@@ -660,33 +660,30 @@
 S/i/btn/btn_
-subscribe
+buynow
 _LG.gif%22 nam
@@ -869,135 +869,18 @@
 rm%3E%0A
-    %3C/div%3E%0A%0A    %3Cdiv className=%22payment-option%22%3E%0A      %3Cp className=%22payment-description%22%3EA lifetime subscription at $500: %3C/p%3E
+%0A      %7B/*
 %0A   
@@ -904,32 +904,24 @@
 https://www.
-sandbox.
 paypal.com/c
@@ -1089,86 +1089,26 @@
 ue=%22
-ZK69WETMHNNHN
+HY2E7XJV9AJ96
 %22 /%3E%0A
-        %3Cinput type=%22hidden%22 name=%22custom%22 value=%7Bemail%7D /%3E%0A
     
@@ -1144,38 +1144,37 @@
 https://www.
-sandbox.paypal
+paypalobjects
 .com/en_US/i
@@ -1186,17 +1186,14 @@
 btn_
-subscribe
+buynow
 _LG.
@@ -1299,38 +1299,37 @@
 https://www.
-sandbox.paypal
+paypalobjects
 .com/en_US/i
@@ -1382,16 +1382,154 @@
 %3C/form%3E%0A
+      */%7D%0A    %3C/div%3E%0A%0A    %3Cdiv className=%22payment-option%22%3E%0A      %3Cp className=%22payment-description%22%3EA lifetime subscription at $500: %3C/p%3E%0A
     %3C/di

swap paypal accounts out