@@ -97,7 +97,7 @@ export const createIndividualSubscriptionHTML = (product: SubscriptionProduct, e
9797 if ( product . price < existingCosts ) {
9898 return `
9999 <section class="subscriptionContainer" key="${ product . id } ">
100- <div>
100+ <div>
101101 <img class="pseudoCoinSubImage" alt="${ product . name } " src="./Pictures/${ product . id } .png" />
102102 <p class="pseudoCoinText">
103103 ${ product . name . split ( ' - ' ) . join ( '<br>' ) }
@@ -109,13 +109,13 @@ export const createIndividualSubscriptionHTML = (product: SubscriptionProduct, e
109109 Downgrade!
110110 </button>
111111 <div class="checkout-paypal" data-id="${ product . id } "></div>
112- </div>
112+ </div>
113113 </section>
114114 `
115115 } else if ( product . price === existingCosts ) {
116116 return `
117117 <section class="subscriptionContainer" key="${ product . id } ">
118- <div>
118+ <div>
119119 <img class="pseudoCoinSubImage" alt="${ product . name } " src="./Pictures/${ product . id } .png" />
120120 <p class="pseudoCoinText">
121121 ${ product . name . split ( ' - ' ) . join ( '<br>' ) }
@@ -127,13 +127,13 @@ export const createIndividualSubscriptionHTML = (product: SubscriptionProduct, e
127127 You are here!
128128 </button>
129129 <div class="checkout-paypal" data-id="${ product . id } "></div>
130- </div>
130+ </div>
131131 </section>
132132 `
133133 } else {
134134 return `
135135 <section class="subscriptionContainer" key="${ product . id } ">
136- <div>
136+ <div>
137137 <img class="pseudoCoinSubImage" alt="${ product . name } " src="./Pictures/${ product . id } .png" />
138138 <p class="pseudoCoinText">
139139 ${ product . name . split ( ' - ' ) . join ( '<br>' ) }
@@ -144,8 +144,8 @@ export const createIndividualSubscriptionHTML = (product: SubscriptionProduct, e
144144 <button data-id="${ product . id } " data-name="${ product . name } " data-upgrade class="pseudoCoinButton">
145145 Upgrade for ${ formatter . format ( ( product . price - existingCosts ) / 100 ) } USD / mo
146146 </button>
147- <!--< div class="checkout-paypal" data-id="${ product . id } "></div>-- >
148- < /div>
147+ <div class="checkout-paypal" data-id="${ product . id } "></div>
148+ /div>
149149 </section>
150150 `
151151 }
@@ -213,7 +213,7 @@ export const initializeSubscriptionPage = memoize(() => {
213213 async onApprove ( data ) {
214214 console . log ( 'subscription approved' , data )
215215
216- Alert (
216+ Notification (
217217 'Please give us a few minutes to process your subscription (PayPal is slow). You will have to refresh the page to receive the bonuses! Thank you for supporting Synergism!'
218218 )
219219 } ,
0 commit comments