Advertisement
Guest User

Untitled

a guest
Aug 26th, 2019
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1. Index: app/Services/BuyLogoService.php
  2. IDEA additional info:
  3. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  4. <+>UTF-8
  5. ===================================================================
  6. --- app/Services/BuyLogoService.php (revision e884dcf10716eff2003d8ac52dd0d68afc6a42ae)
  7. +++ app/Services/BuyLogoService.php (date 1566745609117)
  8. @@ -49,6 +49,7 @@
  9. 'merchant' => config('2checkout.merchant'),
  10. 'prod' => config('2checkout.prod'),
  11. 'tpl' => config('2checkout.tpl'),
  12. + 'style' => config('2checkout.style'),
  13. ];
  14.  
  15. return http_build_query($params);
  16. @@ -70,7 +71,9 @@
  17.  
  18. $purchase = optional($userLogo)->purchase;
  19.  
  20. - if (is_null($purchase)) {
  21. + \Log::info(json_encode(\Request::all()));
  22. +
  23. + if (is_null($purchase) && isset($data['signature'])) {
  24. $merchantId = data_get($data, 'merchant');
  25. $total = (float)data_get($data, 'total');
  26. $currency = data_get($data, 'total-currency');
  27. Index: config/2checkout.php
  28. IDEA additional info:
  29. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  30. <+>UTF-8
  31. ===================================================================
  32. --- config/2checkout.php (revision e884dcf10716eff2003d8ac52dd0d68afc6a42ae)
  33. +++ config/2checkout.php (date 1566742082722)
  34. @@ -4,4 +4,5 @@
  35. 'tpl' => 'default',
  36. 'merchant' => '250167847436',
  37. 'prod' => '2A3E767BB4',
  38. + 'style' => 'default5d10f2c1b36ca',
  39. ];
  40. Index: resources/views/purchase/mail/archive-images.blade.php
  41. IDEA additional info:
  42. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  43. <+>UTF-8
  44. ===================================================================
  45. --- resources/views/purchase/mail/archive-images.blade.php (revision e884dcf10716eff2003d8ac52dd0d68afc6a42ae)
  46. +++ resources/views/purchase/mail/archive-images.blade.php (date 1566675898653)
  47. @@ -278,7 +278,7 @@
  48. </tr>
  49. <tr style="border-collapse:collapse;">
  50. <td align="center" style="padding:0;Margin:0;padding-bottom:15px;">
  51. - <h2 style="Margin:0;line-height:36px;mso-line-height-rule:exactly;font-family:&#39;open sans&#39;, &#39;helvetica neue&#39;, helvetica, arial, sans-serif;font-size:30px;font-style:normal;font-weight:bold;color:#333333;text-align:center;">Your logo has been purchased!</h2></td>
  52. + <h2 style="Margin:0;line-height:36px;mso-line-height-rule:exactly;font-family:&#39;open sans&#39;, &#39;helvetica neue&#39;, helvetica, arial, sans-serif;font-size:30px;font-style:normal;font-weight:bold;color:#333333;text-align:center;">Your logo has been successfully downloaded!</h2></td>
  53. </tr>
  54. <tr style="border-collapse:collapse;">
  55. <td align="left" style="padding:0;Margin:0;padding-bottom:10px;padding-top:15px;">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement