נכתב ע"י מרגרינה;340682:אז כנראה שלא הסברתי את עצמי נכון,
אני מתכנתת אתר שדורש דמי הרשמה ב-Paypal,
אני צריכה את הקודHTML של ה-Paypal כדי שאנשים שנכנסים לאתר יוכלו לשלם,
למשהו יש קוד כזה?
בנוסף אני צריכה לדעת איך בודקים שאכן התשלום בוצע? (אני עובדת ב-PHP)
[LEFT][COLOR=green][FONT=Courier New]- ליצור את טופס עם הפניה לאתר הפייפל --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] /><?XML:NAMESPACE PREFIX = O /><O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]form[/FONT][/COLOR][FONT=Courier New][COLOR=red]action[/COLOR][COLOR=blue]="https://www.paypal.com/cgi-bin/webscr"[/COLOR][COLOR=red]method[/COLOR][COLOR=blue]="post"><O:p></O:p>[/COLOR][/FONT]
[COLOR=green][FONT=Courier New]-- לכתובת האימייל שעל שמו מתבצע התשלום --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="business"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="<לא ניתן לפרסם מיילים באופן פומבי>"[/COLOR][COLOR=blue]/><O:p></O:p>[/COLOR][/FONT]
[COLOR=green][FONT=Courier New]--הוא כפתור רכישה רגיל _xclick לציין סוג כפתור למשל --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="cmd"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="_xclick"[/COLOR][COLOR=blue]/><O:p></O:p>[/COLOR][/FONT]
[COLOR=green][FONT=Courier New]-- לציין את שם הפריט עבורו מתבצע התשלום --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="item_name"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="Some thing"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=green][FONT=Courier New]-- לציין את מחיר הפריט --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="amount"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="18.95"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=green][FONT=Courier New]-- לציין את סוג המטבע הפריט --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="currency_code"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="USD"[/COLOR][COLOR=blue]/><O:p></O:p>[/COLOR][/FONT]
[COLOR=green][FONT=Courier New]-- כאן ניתן לציין את הכתובת באתר שלך אליו ישוב המשלם לאחר תשלום מוצלח --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="return"[/COLOR][COLOR=red] value[/COLOR][COLOR=blue]="http://yourdomain.com/thankyou.htm"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=green][FONT=Courier New]-- להציג את תמונת הכפתור --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="image"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="submit"[/COLOR][COLOR=red]border[/COLOR][COLOR=blue]="0"[/COLOR][COLOR=red]src[/COLOR][COLOR=blue]="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif"[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=red][FONT=Courier New]alt[/FONT][/COLOR][COLOR=blue][FONT=Courier New]="PayPal - The safer, easier way to pay online"[/FONT][/COLOR][FONT=Courier New][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]img[/FONT][/COLOR][FONT=Courier New][COLOR=red]alt[/COLOR][COLOR=blue]=""[/COLOR][COLOR=red]border[/COLOR][COLOR=blue]="0"[/COLOR][COLOR=red]width[/COLOR][COLOR=blue]="1"[/COLOR][COLOR=red]height[/COLOR][COLOR=blue]="1"[/COLOR][COLOR=red]src[/COLOR][COLOR=blue]="https://www.paypal.com/en_US/i/scr/pixel.gif"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT]
[COLOR=blue][FONT=Courier New]</< font>[/FONT][COLOR=#a31515][FONT=Courier New]form[/FONT][/COLOR][COLOR=blue][FONT=Courier New]>[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT][/COLOR][/LEFT]
[COLOR=blue]<O:p></O:p>[/COLOR]
נכתב ע"י Haim;342585:אופן תשלום הפשוט ב-PayPal הוא ליצור טופס (form) עם מספר שדות נסתרים (hidden) וכפתור Submit בסוף כזה:
קוד:[LEFT][COLOR=green][FONT=Courier New]- ליצור את טופס עם הפניה לאתר הפייפל --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] /><?XML:NAMESPACE PREFIX = O /><O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]form[/FONT][/COLOR][FONT=Courier New][COLOR=red]action[/COLOR][COLOR=blue]="https://www.paypal.com/cgi-bin/webscr"[/COLOR][COLOR=red]method[/COLOR][COLOR=blue]="post"><O:p></O:p>[/COLOR][/FONT] [COLOR=green][FONT=Courier New]-- לכתובת האימייל שעל שמו מתבצע התשלום --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="business"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="<לא ניתן לפרסם מיילים באופן פומבי>"[/COLOR][COLOR=blue]/><O:p></O:p>[/COLOR][/FONT] [COLOR=green][FONT=Courier New]--הוא כפתור רכישה רגיל _xclick לציין סוג כפתור למשל --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="cmd"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="_xclick"[/COLOR][COLOR=blue]/><O:p></O:p>[/COLOR][/FONT] [COLOR=green][FONT=Courier New]-- לציין את שם הפריט עבורו מתבצע התשלום --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="item_name"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="Some thing"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=green][FONT=Courier New]-- לציין את מחיר הפריט --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="amount"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="18.95"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=green][FONT=Courier New]-- לציין את סוג המטבע הפריט --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="currency_code"[/COLOR][COLOR=red]value[/COLOR][COLOR=blue]="USD"[/COLOR][COLOR=blue]/><O:p></O:p>[/COLOR][/FONT] [COLOR=green][FONT=Courier New]-- כאן ניתן לציין את הכתובת באתר שלך אליו ישוב המשלם לאחר תשלום מוצלח --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="hidden"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="return"[/COLOR][COLOR=red] value[/COLOR][COLOR=blue]="http://yourdomain.com/thankyou.htm"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=green][FONT=Courier New]-- להציג את תמונת הכפתור --[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]input[/FONT][/COLOR][FONT=Courier New][COLOR=red]type[/COLOR][COLOR=blue]="image"[/COLOR][COLOR=red]name[/COLOR][COLOR=blue]="submit"[/COLOR][COLOR=red]border[/COLOR][COLOR=blue]="0"[/COLOR][COLOR=red]src[/COLOR][COLOR=blue]="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif"[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=red][FONT=Courier New]alt[/FONT][/COLOR][COLOR=blue][FONT=Courier New]="PayPal - The safer, easier way to pay online"[/FONT][/COLOR][FONT=Courier New][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]<[/FONT][/COLOR][COLOR=#a31515][FONT=Courier New]img[/FONT][/COLOR][FONT=Courier New][COLOR=red]alt[/COLOR][COLOR=blue]=""[/COLOR][COLOR=red]border[/COLOR][COLOR=blue]="0"[/COLOR][COLOR=red]width[/COLOR][COLOR=blue]="1"[/COLOR][COLOR=red]height[/COLOR][COLOR=blue]="1"[/COLOR][COLOR=red]src[/COLOR][COLOR=blue]="https://www.paypal.com/en_US/i/scr/pixel.gif"[/COLOR][COLOR=blue]/>[/COLOR][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT] [COLOR=blue][FONT=Courier New]</< font>[/FONT][COLOR=#a31515][FONT=Courier New]form[/FONT][/COLOR][COLOR=blue][FONT=Courier New]>[/FONT][/COLOR][FONT=Courier New][COLOR=#000000] <O:p></O:p>[/COLOR][/FONT][/COLOR][/LEFT] [COLOR=blue]<O:p></O:p>[/COLOR]
rhon.co.il
מעכשיו, תהיו הראשונים לקבל את כל העדכונים, החדשות, ההפתעות בלעדיות, והתכנים הכי חמים שלנו בפרוג!
חלה שגיאה בשליחה. נסו שוב!
לוח לימודים
מסלולי לימוד שאפשר להצטרף
אליהם ממש עכשיו:
תהילים פרק כה
אלְדָוִד אֵלֶיךָ יי נַפְשִׁי אֶשָּׂא:באֱלֹהַי בְּךָ בָטַחְתִּי אַל אֵבוֹשָׁה אַל יַעַלְצוּ אֹיְבַי לִי:גגַּם כָּל קוֶֹיךָ לֹא יֵבֹשׁוּ יֵבֹשׁוּ הַבּוֹגְדִים רֵיקָם:דדְּרָכֶיךָ יי הוֹדִיעֵנִי אֹרְחוֹתֶיךָ לַמְּדֵנִי:ההַדְרִיכֵנִי בַאֲמִתֶּךָ וְלַמְּדֵנִי כִּי אַתָּה אֱלֹהֵי יִשְׁעִי אוֹתְךָ קִוִּיתִי כָּל הַיּוֹם:וזְכֹר רַחֲמֶיךָ יי וַחֲסָדֶיךָ כִּי מֵעוֹלָם הֵמָּה:זחַטֹּאות נְעוּרַי וּפְשָׁעַי אַל תִּזְכֹּר כְּחַסְדְּךָ זְכָר לִי אַתָּה לְמַעַן טוּבְךָ יי:חטוֹב וְיָשָׁר יי עַל כֵּן יוֹרֶה חַטָּאִים בַּדָּרֶךְ:טיַדְרֵךְ עֲנָוִים בַּמִּשְׁפָּט וִילַמֵּד עֲנָוִים דַּרְכּוֹ:יכָּל אָרְחוֹת יי חֶסֶד וֶאֱמֶת לְנֹצְרֵי בְרִיתוֹ וְעֵדֹתָיו:יאלְמַעַן שִׁמְךָ יי וְסָלַחְתָּ לַעֲוֹנִי כִּי רַב הוּא:יבמִי זֶה הָאִישׁ יְרֵא יי יוֹרֶנּוּ בְּדֶרֶךְ יִבְחָר:יגנַפְשׁוֹ בְּטוֹב תָּלִין וְזַרְעוֹ יִירַשׁ אָרֶץ:ידסוֹד יי לִירֵאָיו וּבְרִיתוֹ לְהוֹדִיעָם:טועֵינַי תָּמִיד אֶל יי כִּי הוּא יוֹצִיא מֵרֶשֶׁת רַגְלָי:טזפְּנֵה אֵלַי וְחָנֵּנִי כִּי יָחִיד וְעָנִי אָנִי:יזצָרוֹת לְבָבִי הִרְחִיבוּ מִמְּצוּקוֹתַי הוֹצִיאֵנִי:יחרְאֵה עָנְיִי וַעֲמָלִי וְשָׂא לְכָל חַטֹּאותָי:יטרְאֵה אוֹיְבַי כִּי רָבּוּ וְשִׂנְאַת חָמָס שְׂנֵאוּנִי:כשָׁמְרָה נַפְשִׁי וְהַצִּילֵנִי אַל אֵבוֹשׁ כִּי חָסִיתִי בָךְ:כאתֹּם וָיֹשֶׁר יִצְּרוּנִי כִּי קִוִּיתִיךָ:כבפְּדֵה אֱלֹהִים אֶת יִשְׂרָאֵל מִכֹּל צָרוֹתָיו:
הנושאים החמים



Reactions: אבסולוט פרימה בלרינה, חלומות ירוקים, Harmonyapro ועוד 113 משתמשים116 //